Enum Class KeyMappingModifier
- All Implemented Interfaces:
Serializable, Comparable<KeyMappingModifier>, Constable
Standard modifier requirements for configured bindings, including portable aliases.
- Since:
- 0.6.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEither Alt key.Either Command/Super key.Either physical Control key, including on macOS.A portable alias for Command on macOS and Control elsewhere.Either Shift key. -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyMappingModifierReturns the enum constant of this class with the specified name.static KeyMappingModifier[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHIFT
-
CONTROL
Either physical Control key, including on macOS.- Since:
- 0.6.0
-
ALT
-
COMMAND
-
CONTROL_OR_COMMAND
A portable alias for Command on macOS and Control elsewhere.- Since:
- 0.6.0
-
-
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
-