de.beamertool.viewer.gui.opengl.gl
Enum CubeSide
java.lang.Object
java.lang.Enum<CubeSide>
de.beamertool.viewer.gui.opengl.gl.CubeSide
- All Implemented Interfaces:
- Serializable, Comparable<CubeSide>
public enum CubeSide
- extends Enum<CubeSide>
- Author:
- ocm-zeeman
|
Method Summary |
CubeSide |
getNext()
|
static CubeSide |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CubeSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
LEFT
public static final CubeSide LEFT
FRONT
public static final CubeSide FRONT
RIGHT
public static final CubeSide RIGHT
BACK
public static final CubeSide BACK
TOP
public static final CubeSide TOP
BOTTOM
public static final CubeSide BOTTOM
values
public static CubeSide[] 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 (CubeSide c : CubeSide.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CubeSide 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
getNext
public CubeSide getNext()