Package org.polyfrost.polyui.input
Enum KeyModifiers
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum KeyModifiers extends Enum<KeyModifiers>
PolyUI's mapping for modifier keys, in binary form so logical OR can be used to check for multiple modifiers.
-
-
Field Summary
Fields Modifier and Type Field Description private final Bytevalueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<KeyModifiers>entries
-
Method Summary
Modifier and Type Method Description final KeyModifiersvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<KeyModifiers>values()Returns an array containing the constants of this enum type, in the order they're declared. final BytegetValue()final EnumEntries<KeyModifiers>getEntries()PolyUI's mapping for modifier keys, in binary form so logical OR can be used to check for multiple modifiers. -
-
Method Detail
-
valueOf
final KeyModifiers valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<KeyModifiers> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<KeyModifiers> getEntries()
PolyUI's mapping for modifier keys, in binary form so logical OR can be used to check for multiple modifiers.
-
-
-
-