Uses of Enum
com.googlecode.lanterna.input.KeyType
Packages that use KeyType
-
Uses of KeyType in com.googlecode.lanterna.input
Subclasses with type arguments of type KeyType in com.googlecode.lanterna.inputModifier and TypeClassDescriptionenumThis enum is a categorization of the various keys available on a normal computer keyboard that are usable (detectable) by a terminal environment.Fields in com.googlecode.lanterna.input declared as KeyTypeFields in com.googlecode.lanterna.input with type parameters of type KeyTypeModifier and TypeFieldDescriptionEscapeSequenceCharacterPattern.finMapMap of recognized "finish pattern" sequences:
e.g.: 'A' -> ArrowUp : "Esc [ A"EscapeSequenceCharacterPattern.stdMapMap 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 KeyTypeReturns 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 KeyStrokeEscapeSequenceCharacterPattern.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.privateKeyStroke(KeyType keyType, Character character, boolean ctrlDown, boolean altDown, boolean shiftDown)