public enum PS3Button extends java.lang.Enum<PS3Button> implements ControllerButton
Enum Constant and Description |
---|
CIRCLE |
DOWN |
L1 |
L3 |
LEFT |
PS |
R1 |
R3 |
RIGHT |
SELECT |
SQUARE |
START |
TRIANGLE |
UP |
X |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ControllerButton controllerButton) |
static PS3Button |
fromAbsoluteValue(java.lang.String value) |
java.lang.String |
getAbsoluteValue() |
static PS3Button |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PS3Button[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PS3Button UP
public static final PS3Button DOWN
public static final PS3Button LEFT
public static final PS3Button RIGHT
public static final PS3Button X
public static final PS3Button SQUARE
public static final PS3Button CIRCLE
public static final PS3Button TRIANGLE
public static final PS3Button L1
public static final PS3Button R1
public static final PS3Button L3
public static final PS3Button R3
public static final PS3Button PS
public static final PS3Button START
public static final PS3Button SELECT
public static PS3Button[] values()
for (PS3Button c : PS3Button.values()) System.out.println(c);
public static PS3Button 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 PS3Button fromAbsoluteValue(java.lang.String value)