public static enum EnumFacing.AxisDirection extends java.lang.Enum<EnumFacing.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 EnumFacing.AxisDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumFacing.AxisDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumFacing.AxisDirection POSITIVE
public static final EnumFacing.AxisDirection NEGATIVE
public static EnumFacing.AxisDirection[] values()
for (EnumFacing.AxisDirection c : EnumFacing.AxisDirection.values()) System.out.println(c);
public static EnumFacing.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<EnumFacing.AxisDirection>