public static enum MoveAction.Direction extends java.lang.Enum<MoveAction.Direction>
Enum Constant and Description |
---|
DOWN
Move down
|
LEFT
Move left
|
RIGHT
Move right
|
UP
Move up
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
icon |
private java.lang.String |
localizedName |
private int |
shortcutKey |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
getIcon() |
(package private) java.lang.String |
getId() |
(package private) java.lang.String |
getLocalizedName() |
(package private) Shortcut |
getShortcut() |
(package private) int |
getShortcutKey() |
(package private) java.lang.String |
getToolbarName() |
static MoveAction.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MoveAction.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MoveAction.Direction UP
public static final MoveAction.Direction LEFT
public static final MoveAction.Direction RIGHT
public static final MoveAction.Direction DOWN
private final java.lang.String localizedName
private final java.lang.String icon
private final int shortcutKey
public static MoveAction.Direction[] values()
for (MoveAction.Direction c : MoveAction.Direction.values()) System.out.println(c);
public static MoveAction.Direction 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 nulljava.lang.String getId()
java.lang.String getLocalizedName()
java.lang.String getIcon()
java.lang.String getToolbarName()
int getShortcutKey()
Shortcut getShortcut()