public static enum JoystickEvent.CommandType extends Enum<JoystickEvent.CommandType>
Enum Constant and Description |
---|
CLOSEDLOOP_ALL |
COMMAND_TYPE_UNKNOWN |
DEVICE_OFF |
DEVICE_STEERING |
DEVICE_THRUST_FORWARD |
DEVICE_THRUST_LATERAL |
DEVICE_THRUST_VERTICAL |
Modifier and Type | Method and Description |
---|---|
static JoystickEvent.CommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JoystickEvent.CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JoystickEvent.CommandType DEVICE_THRUST_FORWARD
public static final JoystickEvent.CommandType DEVICE_STEERING
public static final JoystickEvent.CommandType DEVICE_THRUST_VERTICAL
public static final JoystickEvent.CommandType DEVICE_THRUST_LATERAL
public static final JoystickEvent.CommandType CLOSEDLOOP_ALL
public static final JoystickEvent.CommandType DEVICE_OFF
public static final JoystickEvent.CommandType COMMAND_TYPE_UNKNOWN
public static JoystickEvent.CommandType[] values()
for (JoystickEvent.CommandType c : JoystickEvent.CommandType.values()) System.out.println(c);
public static JoystickEvent.CommandType 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