Uses of Enum
com.googlecode.lanterna.input.KeyType
Packages that use KeyType
-
Uses of KeyType in com.googlecode.lanterna.input
Fields in com.googlecode.lanterna.input declared as KeyTypeFields in com.googlecode.lanterna.input with type parameters of type KeyTypeModifier and TypeFieldDescriptionEscapeSequenceCharacterPattern.finMap
Map of recognized "finish pattern" sequences:
e.g.: 'A' -> ArrowUp : "Esc [ A"EscapeSequenceCharacterPattern.stdMap
Map of recognized "standard pattern" sequences:
e.g.: 24 -> F12 : "Esc [ 24 ~"Methods in com.googlecode.lanterna.input that return KeyTypeModifier and TypeMethodDescriptionKeyStroke.getKeyType()
Type of key that was pressed on the keyboard, as represented by the KeyType enum.static KeyType
Returns the enum constant of this type with the specified name.static KeyType[]
KeyType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.googlecode.lanterna.input with parameters of type KeyTypeModifier and TypeMethodDescriptionprotected KeyStroke
EscapeSequenceCharacterPattern.getKeyStroke
(KeyType key, int mods) combines a KeyType and modifiers into a KeyStroke.Constructors in com.googlecode.lanterna.input with parameters of type KeyTypeModifierConstructorDescriptionConstructs a KeyStroke based on a supplied keyType; character will be null and both ctrl and alt will be considered not pressed.Constructs a KeyStroke based on a supplied keyType; character will be null.Constructs a KeyStroke based on a supplied keyType; character will be null.private
KeyStroke
(KeyType keyType, Character character, boolean ctrlDown, boolean altDown, boolean shiftDown)