public static enum TLspMoveDescriptor.Constraints extends Enum<TLspMoveDescriptor.Constraints>
Enum Constant and Description |
---|
X
Move along the X-axis
|
XY
Move in the XY-plane
|
XYZ
Unconstrained move
|
XZ
Move in the XZ-plane
|
Y
Move along the Y-axis
|
YZ
Move in the YZ-plane
|
Z
Move along the Z-axis
|
Modifier and Type | Method and Description |
---|---|
static TLspMoveDescriptor.Constraints |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLspMoveDescriptor.Constraints[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
boolean |
x()
Returns whether the move is allowed along the x-axis
|
boolean |
y()
Returns whether the move is allowed along the y-axis
|
boolean |
z()
Returns whether the move is allowed along the z-axis
|
public static final TLspMoveDescriptor.Constraints X
public static final TLspMoveDescriptor.Constraints Y
public static final TLspMoveDescriptor.Constraints Z
public static final TLspMoveDescriptor.Constraints XY
public static final TLspMoveDescriptor.Constraints YZ
public static final TLspMoveDescriptor.Constraints XZ
public static final TLspMoveDescriptor.Constraints XYZ
public static TLspMoveDescriptor.Constraints[] values()
for (TLspMoveDescriptor.Constraints c : TLspMoveDescriptor.Constraints.values()) System.out.println(c);
public static TLspMoveDescriptor.Constraints 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 boolean x()
public boolean y()
public boolean z()