Package org.polyfrost.polyui.input
Enum Keys
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classKeys.Companion
-
Method Summary
Modifier and Type Method Description final KeysvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<Keys>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetKeyName()final ShortgetValue()final EnumEntries<Keys>getEntries()PolyUI's mapping for unprintable key codes. -
-
Method Detail
-
valueOf
final Keys 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<Keys> 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<Keys> getEntries()
PolyUI's mapping for unprintable key codes.
Unknown: -1
F1-F12: 1-12
Escape: 100
Enter -> End: 101-109
Arrow Keys (Right, Left, Down, Up): 200-203
-
-
-
-