public enum ConstrainedUpAxis extends Enum<ConstrainedUpAxis> implements Enumeration
Enum Constant and Description |
---|
NEGATIVE_X
The negative X axis is constrained.
|
NEGATIVE_Y
The negative Y axis is constrained.
|
NEGATIVE_Z
The negative Z axis is constrained.
|
NONE
No axis is contained.
|
X
The X axis is constrained.
|
Y
The Y axis is constrained.
|
Z
The Z axis is constrained.
|
Modifier and Type | Method and Description |
---|---|
static ConstrainedUpAxis |
getDefault()
Get the enum constant that is considered to be the default.
|
static ConstrainedUpAxis |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static ConstrainedUpAxis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstrainedUpAxis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstrainedUpAxis X
public static final ConstrainedUpAxis Y
public static final ConstrainedUpAxis Z
public static final ConstrainedUpAxis NEGATIVE_X
public static final ConstrainedUpAxis NEGATIVE_Y
public static final ConstrainedUpAxis NEGATIVE_Z
public static final ConstrainedUpAxis NONE
public static ConstrainedUpAxis[] values()
for (ConstrainedUpAxis c : ConstrainedUpAxis.values()) System.out.println(c);
public static ConstrainedUpAxis 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 getValue()
getValue
in interface Enumeration
@Nonnull public static ConstrainedUpAxis getFromValue(int value)
value
- a numeric value.@Nonnull public static ConstrainedUpAxis getDefault()