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

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

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


Enum Constant Summary
BACKWARD
           
DOWN
           
FORWARD
           
LEFT
           
RIGHT
           
UP
           
 
Method Summary
static JoglCamera.Translation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JoglCamera.Translation[] 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

BACKWARD

public static final JoglCamera.Translation BACKWARD

DOWN

public static final JoglCamera.Translation DOWN

FORWARD

public static final JoglCamera.Translation FORWARD

LEFT

public static final JoglCamera.Translation LEFT

RIGHT

public static final JoglCamera.Translation RIGHT

UP

public static final JoglCamera.Translation UP
Method Detail

values

public static JoglCamera.Translation[] 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.Translation c : JoglCamera.Translation.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.Translation 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)