com.azalient.apo.enums
Enum InputGesture

java.lang.Object
  extended by java.lang.Enum<InputGesture>
      extended by 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


Enum Constant Summary
GESTURE_3
           
GESTURE_4
           
LARGER
           
LARGER_UNDO
           
MOVE
           
ROTATE
           
SMALLER
           
SMALLER_UNDO
           
 
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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