public enum XboxOneButton extends java.lang.Enum<XboxOneButton> implements ControllerButton
Enum Constant and Description |
---|
A |
B |
DOWN |
HOME |
LEFT |
LEFT_SHOULDER |
LEFT_STICK |
MENU |
RIGHT |
RIGHT_SHOULDER |
RIGHT_STICK |
UP |
VIEW |
X |
Y |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ControllerButton controllerButton) |
static XboxOneButton |
fromAbsoluteValue(java.lang.String value) |
java.lang.String |
getAbsoluteValue() |
static XboxOneButton |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XboxOneButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XboxOneButton UP
public static final XboxOneButton DOWN
public static final XboxOneButton LEFT
public static final XboxOneButton RIGHT
public static final XboxOneButton MENU
public static final XboxOneButton VIEW
public static final XboxOneButton HOME
public static final XboxOneButton LEFT_STICK
public static final XboxOneButton RIGHT_STICK
public static final XboxOneButton LEFT_SHOULDER
public static final XboxOneButton RIGHT_SHOULDER
public static final XboxOneButton A
public static final XboxOneButton B
public static final XboxOneButton X
public static final XboxOneButton Y
public static XboxOneButton[] values()
for (XboxOneButton c : XboxOneButton.values()) System.out.println(c);
public static XboxOneButton 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 nullpublic java.lang.String getAbsoluteValue()
getAbsoluteValue
in interface ControllerButton
public boolean equals(ControllerButton controllerButton)
equals
in interface ControllerButton
public static XboxOneButton fromAbsoluteValue(java.lang.String value)