Enum Class ButtonNames.Style
- All Implemented Interfaces:
Serializable,Comparable<ButtonNames.Style>,Constable
- Enclosing class:
ButtonNames
The kind of names a controller has printed on it.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA, B, X, Y, LB, RB, LT, RT, BACK, START, GUIDE: Logitech F310, Xbox, and any unknown controller.×, ○, □, △, L1, R1, L2, R2, SHARE, OPTIONS, PS: PS4, PS5 and PS-style controllers. -
Method Summary
Modifier and TypeMethodDescriptionstatic ButtonNames.StyleReturns the enum constant of this class with the specified name.static ButtonNames.Style[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LETTERS
A, B, X, Y, LB, RB, LT, RT, BACK, START, GUIDE: Logitech F310, Xbox, and any unknown controller. -
PLAYSTATION
×, ○, □, △, L1, R1, L2, R2, SHARE, OPTIONS, PS: PS4, PS5 and PS-style controllers.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-