com.croftsoft.core.media.jogl.camera
Enum JoglCamera.Axis
java.lang.Object
java.lang.Enum<JoglCamera.Axis>
com.croftsoft.core.media.jogl.camera.JoglCamera.Axis
- All Implemented Interfaces:
- Serializable, Comparable<JoglCamera.Axis>
- Enclosing interface:
- JoglCamera
public static enum JoglCamera.Axis
- extends Enum<JoglCamera.Axis>
Enum Constant Summary |
X
|
Y
|
Z
|
Method Summary |
static JoglCamera.Axis |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JoglCamera.Axis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
X
public static final JoglCamera.Axis X
Y
public static final JoglCamera.Axis Y
Z
public static final JoglCamera.Axis Z
values
public static JoglCamera.Axis[] 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.Axis c : JoglCamera.Axis.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.Axis 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 Core Javadoc (2008-09-28 20:58:02)