public enum SwitchJoyConLButton extends java.lang.Enum<SwitchJoyConLButton> implements GamePadButton
Enum Constant and Description |
---|
DOWN |
L |
LEFT |
MINUS |
RIGHT |
SL |
SR |
UP |
ZL |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(GamePadButton gamePadButton) |
static SwitchJoyConLButton |
fromInternalName(java.lang.String value) |
java.lang.String |
getInternalName() |
static SwitchJoyConLButton |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SwitchJoyConLButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwitchJoyConLButton LEFT
public static final SwitchJoyConLButton RIGHT
public static final SwitchJoyConLButton UP
public static final SwitchJoyConLButton DOWN
public static final SwitchJoyConLButton L
public static final SwitchJoyConLButton ZL
public static final SwitchJoyConLButton SL
public static final SwitchJoyConLButton SR
public static final SwitchJoyConLButton MINUS
public static SwitchJoyConLButton[] values()
for (SwitchJoyConLButton c : SwitchJoyConLButton.values()) System.out.println(c);
public static SwitchJoyConLButton 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 getInternalName()
getInternalName
in interface GamePadButton
public boolean equals(GamePadButton gamePadButton)
equals
in interface GamePadButton
public static SwitchJoyConLButton fromInternalName(java.lang.String value)