Serializable, Comparable<MenuTree.MoveType>public static enum MenuTree.MoveType extends Enum<MenuTree.MoveType>
| Modifier and Type | Method | Description |
|---|---|---|
static MenuTree.MoveType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MenuTree.MoveType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuTree.MoveType MOVE_UP
public static final MenuTree.MoveType MOVE_DOWN
public static MenuTree.MoveType[] values()
for (MenuTree.MoveType c : MenuTree.MoveType.values()) System.out.println(c);
public static MenuTree.MoveType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.