com.azalient.apo.enums
Enum InputGesture
java.lang.Object
java.lang.Enum<InputGesture>
com.azalient.apo.enums.InputGesture
- All Implemented Interfaces:
- Serializable, Comparable<InputGesture>
public enum InputGesture
- extends Enum<InputGesture>
An input gesture made by the user. These can be associated to keys, mouse movements, or joystick or 3D-mouse movements
|
Method Summary |
static InputGesture |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InputGesture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
MOVE
public static final InputGesture MOVE
ROTATE
public static final InputGesture ROTATE
LARGER
public static final InputGesture LARGER
SMALLER
public static final InputGesture SMALLER
GESTURE_3
public static final InputGesture GESTURE_3
GESTURE_4
public static final InputGesture GESTURE_4
LARGER_UNDO
public static final InputGesture LARGER_UNDO
SMALLER_UNDO
public static final InputGesture SMALLER_UNDO
values
public static InputGesture[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (InputGesture c : InputGesture.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static InputGesture valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null