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