org.xith3d.input.modules.orih
Enum ORIHInputAction

java.lang.Object
  extended by java.lang.Enum<ORIHInputAction>
      extended by org.xith3d.input.modules.orih.ORIHInputAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ORIHInputAction>, org.jagatoo.input.actions.InputAction, org.jagatoo.input.actions.LabeledInputAction

public enum ORIHInputAction
extends java.lang.Enum<ORIHInputAction>
implements org.jagatoo.input.actions.LabeledInputAction

Basic key commands, that can be bound with specific keys.


Enum Constant Summary
DISCRETE_ZOOM_IN
           
DISCRETE_ZOOM_OUT
           
ROTATE_DOWN
           
ROTATE_LEFT
           
ROTATE_RIGHT
           
ROTATE_UP
           
ZOOM_IN
           
ZOOM_OUT
           
 
Method Summary
 java.lang.String getLocalizedText()
          
 java.lang.String getText()
          
static ORIHInputAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ORIHInputAction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jagatoo.input.actions.InputAction
ordinal
 

Enum Constant Detail

ROTATE_LEFT

public static final ORIHInputAction ROTATE_LEFT

ROTATE_RIGHT

public static final ORIHInputAction ROTATE_RIGHT

ROTATE_UP

public static final ORIHInputAction ROTATE_UP

ROTATE_DOWN

public static final ORIHInputAction ROTATE_DOWN

ZOOM_IN

public static final ORIHInputAction ZOOM_IN

ZOOM_OUT

public static final ORIHInputAction ZOOM_OUT

DISCRETE_ZOOM_IN

public static final ORIHInputAction DISCRETE_ZOOM_IN

DISCRETE_ZOOM_OUT

public static final ORIHInputAction DISCRETE_ZOOM_OUT
Method Detail

values

public static ORIHInputAction[] 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 (ORIHInputAction c : ORIHInputAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ORIHInputAction valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getText

public final java.lang.String getText()

Specified by:
getText in interface org.jagatoo.input.actions.LabeledInputAction

getLocalizedText

public final java.lang.String getLocalizedText()

Specified by:
getLocalizedText in interface org.jagatoo.input.actions.LabeledInputAction