public static enum Direction.AxisDirection extends Enum<Direction.AxisDirection>
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
private int |
offset |
| Modifier and Type | Method and Description |
|---|---|
Direction.AxisDirection |
getOpposite() |
int |
offset() |
String |
toString() |
static Direction.AxisDirection |
valueOf(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
private final int offset
private final String description
public static Direction.AxisDirection[] values()
for (Direction.AxisDirection c : Direction.AxisDirection.values()) System.out.println(c);
public static Direction.AxisDirection valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int offset()
public String toString()
toString in class Enum<Direction.AxisDirection>public Direction.AxisDirection getOpposite()