Uses of Class
com.googlecode.lanterna.input.KeyType
-
Packages that use KeyType Package Description com.googlecode.lanterna.input -
-
Uses of KeyType in com.googlecode.lanterna.input
Fields in com.googlecode.lanterna.input declared as KeyType Modifier and Type Field Description private KeyType
KeyStroke. keyType
Fields in com.googlecode.lanterna.input with type parameters of type KeyType Modifier and Type Field Description protected java.util.Map<java.lang.Character,KeyType>
EscapeSequenceCharacterPattern. finMap
Map of recognized "finish pattern" sequences:
e.g.: 'A' -> ArrowUp : "Esc [ A"protected java.util.Map<java.lang.Integer,KeyType>
EscapeSequenceCharacterPattern. stdMap
Map of recognized "standard pattern" sequences:
e.g.: 24 -> F12 : "Esc [ 24 ~"Methods in com.googlecode.lanterna.input that return KeyType Modifier and Type Method Description KeyType
KeyStroke. getKeyType()
Type of key that was pressed on the keyboard, as represented by the KeyType enum.static KeyType
KeyType. valueOf(java.lang.String name)
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 KeyType Modifier and Type Method Description protected 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 KeyType Constructor Description KeyStroke(KeyType keyType)
Constructs a KeyStroke based on a supplied keyType; character will be null and both ctrl and alt will be considered not pressed.KeyStroke(KeyType keyType, boolean ctrlDown, boolean altDown)
Constructs a KeyStroke based on a supplied keyType; character will be null.KeyStroke(KeyType keyType, boolean ctrlDown, boolean altDown, boolean shiftDown)
Constructs a KeyStroke based on a supplied keyType; character will be null.KeyStroke(KeyType keyType, java.lang.Character character, boolean ctrlDown, boolean altDown, boolean shiftDown)
-