public static enum Joystick.AxisType extends java.lang.Enum<Joystick.AxisType>
Enum Constant and Description |
---|
kNumAxis |
kThrottle |
kTwist |
kX |
kY |
kZ |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static Joystick.AxisType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Joystick.AxisType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Joystick.AxisType kX
public static final Joystick.AxisType kY
public static final Joystick.AxisType kZ
public static final Joystick.AxisType kTwist
public static final Joystick.AxisType kThrottle
public static final Joystick.AxisType kNumAxis
public final int value
public static Joystick.AxisType[] values()
for (Joystick.AxisType c : Joystick.AxisType.values()) System.out.println(c);
public static Joystick.AxisType 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 null