public static enum VehicleButtonEvent.ButtonAction extends java.lang.Enum<VehicleButtonEvent.ButtonAction>
Enum Constant and Description |
---|
HELD_LONG |
HELD_SHORT |
IDLE |
PRESSED |
RELEASED |
STUCK |
Modifier and Type | Method and Description |
---|---|
static VehicleButtonEvent.ButtonAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VehicleButtonEvent.ButtonAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleButtonEvent.ButtonAction IDLE
public static final VehicleButtonEvent.ButtonAction PRESSED
public static final VehicleButtonEvent.ButtonAction RELEASED
public static final VehicleButtonEvent.ButtonAction HELD_SHORT
public static final VehicleButtonEvent.ButtonAction HELD_LONG
public static final VehicleButtonEvent.ButtonAction STUCK
public static VehicleButtonEvent.ButtonAction[] values()
for (VehicleButtonEvent.ButtonAction c : VehicleButtonEvent.ButtonAction.values()) System.out.println(c);
public static VehicleButtonEvent.ButtonAction 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