|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<StateChangeEventType> becker.robots.StateChangeEventType
public enum StateChangeEventType
Enum Constant Summary | |
---|---|
BEGIN_MOVING
A robot has begun moving. |
|
BEGIN_TURNING
A robot has begun turning.. |
|
COLOR
A Sim or Icon's color has changed. |
|
END_MOVING
A robot has stopped moving. |
|
END_TURNING
A robot has stopped turning. |
|
LABEL
A Sim or Icon's label has changed. |
|
MOVING
A robot is moving. |
|
NEW_ICON
A Sim has been given a new icon. |
|
OFF
Something has been turned "off". |
|
ON
Something has been turned "on". |
|
TURNING
A robot is turning. |
Method Summary | |
---|---|
static StateChangeEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StateChangeEventType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StateChangeEventType BEGIN_MOVING
public static final StateChangeEventType END_MOVING
public static final StateChangeEventType MOVING
public static final StateChangeEventType BEGIN_TURNING
public static final StateChangeEventType END_TURNING
public static final StateChangeEventType TURNING
public static final StateChangeEventType ON
public static final StateChangeEventType OFF
public static final StateChangeEventType NEW_ICON
public static final StateChangeEventType COLOR
public static final StateChangeEventType LABEL
Method Detail |
---|
public static final StateChangeEventType[] values()
for(StateChangeEventType c : StateChangeEventType.values()) System.out.println(c);
public static StateChangeEventType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |