|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PlayState>
org.robokind.api.common.playable.PlayState
public enum PlayState
States of a Playable.
Enum Constant Summary | |
---|---|
COMPLETED
A Playable which is completed and no longer running. |
|
PAUSED
A Playable which has been paused. |
|
PENDING
A Playable which has not been started. |
|
RUNNING
A Playable which is currently running. |
|
STOPPED
A Playable which has been stopped before completion. |
Method Summary | |
---|---|
static PlayState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PlayState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PlayState PENDING
public static final PlayState RUNNING
public static final PlayState PAUSED
public static final PlayState STOPPED
public static final PlayState COMPLETED
Method Detail |
---|
public static PlayState[] values()
for (PlayState c : PlayState.values()) System.out.println(c);
public static PlayState 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
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |