com.croftsoft.core.media.jogl.camera
Enum JoglCamera.Rotation

java.lang.Object
  extended by java.lang.Enum<JoglCamera.Rotation>
      extended by com.croftsoft.core.media.jogl.camera.JoglCamera.Rotation
All Implemented Interfaces:
Serializable, Comparable<JoglCamera.Rotation>
Enclosing interface:
JoglCamera

public static enum JoglCamera.Rotation
extends Enum<JoglCamera.Rotation>


Enum Constant Summary
PITCH_DOWN
           
PITCH_UP
           
ROLL_LEFT
           
ROLL_RIGHT
           
YAW_LEFT
           
YAW_RIGHT
           
 
Method Summary
static JoglCamera.Rotation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JoglCamera.Rotation[] 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
 

Enum Constant Detail

PITCH_DOWN

public static final JoglCamera.Rotation PITCH_DOWN

PITCH_UP

public static final JoglCamera.Rotation PITCH_UP

ROLL_LEFT

public static final JoglCamera.Rotation ROLL_LEFT

ROLL_RIGHT

public static final JoglCamera.Rotation ROLL_RIGHT

YAW_LEFT

public static final JoglCamera.Rotation YAW_LEFT

YAW_RIGHT

public static final JoglCamera.Rotation YAW_RIGHT
Method Detail

values

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

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

valueOf

public static JoglCamera.Rotation 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

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)