public static enum ControlEvent.ControlCommand extends java.lang.Enum<ControlEvent.ControlCommand>
| Modifier and Type | Method and Description |
|---|---|
static ControlEvent.ControlCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ControlEvent.ControlCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlEvent.ControlCommand STOP
public static final ControlEvent.ControlCommand START
public static final ControlEvent.ControlCommand PAUSE
public static final ControlEvent.ControlCommand CONTINUE
public static final ControlEvent.ControlCommand CRASH
public static ControlEvent.ControlCommand[] values()
for (ControlEvent.ControlCommand c : ControlEvent.ControlCommand.values()) System.out.println(c);
public static ControlEvent.ControlCommand 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 null