Enum Constant and Description |
---|
CENTER |
EAST |
NORTH |
NORTH_EAST |
NORTH_WEST |
SOUTH |
SOUTH_EAST |
SOUTH_WEST |
WEST |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isPressed(PovState state) |
static PovState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PovState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PovState CENTER
public static final PovState NORTH
public static final PovState SOUTH
public static final PovState EAST
public static final PovState WEST
public static final PovState NORTH_EAST
public static final PovState SOUTH_EAST
public static final PovState NORTH_WEST
public static final PovState SOUTH_WEST
public static PovState[] values()
for (PovState c : PovState.values()) System.out.println(c);
public static PovState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract boolean isPressed(PovState state)