public enum MenuOption extends java.lang.Enum<MenuOption>
Enum Constant and Description |
---|
ALL_COMBINATION |
EXIT |
REPLAY |
SELECT_CHARACTER_ONE |
SELECT_CHARACTER_TWO |
SELECT_INPUT_DEVICE_ONE |
SELECT_INPUT_DEVICE_TWO |
START |
Modifier and Type | Method and Description |
---|---|
static MenuOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MenuOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuOption START
public static final MenuOption SELECT_INPUT_DEVICE_ONE
public static final MenuOption SELECT_INPUT_DEVICE_TWO
public static final MenuOption SELECT_CHARACTER_ONE
public static final MenuOption SELECT_CHARACTER_TWO
public static final MenuOption ALL_COMBINATION
public static final MenuOption REPLAY
public static final MenuOption EXIT
public static MenuOption[] values()
for (MenuOption c : MenuOption.values()) System.out.println(c);
public static MenuOption 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