public static enum Direction.AxisDirection extends java.lang.Enum<Direction.AxisDirection>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description |
private int |
offset |
Modifier and Type | Method and Description |
---|---|
int |
getOffset() |
java.lang.String |
toString() |
static Direction.AxisDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Direction.AxisDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Direction.AxisDirection POSITIVE
public static final Direction.AxisDirection NEGATIVE
public static Direction.AxisDirection[] values()
for (Direction.AxisDirection c : Direction.AxisDirection.values()) System.out.println(c);
public static Direction.AxisDirection valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getOffset()
public java.lang.String toString()
toString
in class java.lang.Enum<Direction.AxisDirection>