public static enum Joystick.Axis extends Enum<Joystick.Axis>
Enum Constant and Description |
---|
POV_X
The X axis on the point-of-view hat.
|
POV_Y
The Y axis on the point-of-view hat.
|
R
The R axis.
|
U
The U axis.
|
V
The V axis.
|
X
The X axis.
|
Y
The Y axis.
|
Z
The Z axis.
|
Modifier and Type | Method and Description |
---|---|
static Joystick.Axis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Joystick.Axis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Joystick.Axis X
public static final Joystick.Axis Y
public static final Joystick.Axis Z
public static final Joystick.Axis R
public static final Joystick.Axis U
public static final Joystick.Axis V
public static final Joystick.Axis POV_X
public static final Joystick.Axis POV_Y
public static Joystick.Axis[] values()
for (Joystick.Axis c : Joystick.Axis.values()) System.out.println(c);
public static Joystick.Axis 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 null