Package org.polyfrost.polyui.input
Enum Modifiers
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classModifiers.Companion
-
Method Summary
Modifier and Type Method Description final ModifiersvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<Modifiers>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetKeyName()final ShortgetValue()final EnumEntries<Modifiers>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 Modifiers 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<Modifiers> 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.
-
getKeyName
final String getKeyName()
-
getEntries
final EnumEntries<Modifiers> getEntries()
PolyUI's mapping for modifier keys, in binary form so logical OR can be used to check for multiple modifiers.
-
-
-
-