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