public enum InputButton extends Enum<InputButton>
QApiEnumDescriptor{name=InputButton, data=[Left, Middle, Right, WheelUp, WheelDown], fields=null}
Enum Constant and Description |
---|
__UNKNOWN |
Left |
Middle |
Right |
WheelDown |
WheelUp |
Modifier and Type | Method and Description |
---|---|
String |
getJsonValue() |
static InputButton |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputButton Left
public static final InputButton Middle
public static final InputButton Right
public static final InputButton WheelUp
public static final InputButton WheelDown
public static final InputButton __UNKNOWN
public static InputButton[] values()
for (InputButton c : InputButton.values()) System.out.println(c);
public static InputButton 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 nullpublic String getJsonValue()