Uses of Enum
com.googlecode.lanterna.input.KeyType

Packages that use KeyType
Package
Description
 
  • Uses of KeyType in com.googlecode.lanterna.input

    Subclasses with type arguments of type KeyType in com.googlecode.lanterna.input
    Modifier and Type
    Class
    Description
    enum 
    This 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 with type parameters of type KeyType
    Modifier and Type
    Field
    Description
    protected final Map<Character, KeyType>
    EscapeSequenceCharacterPattern.finMap
    Map of recognized "finish pattern" sequences:
    e.g.: 'A' -> ArrowUp : "Esc [ A"
    protected final Map<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
    KeyStroke.getKeyType()
    Type of key that was pressed on the keyboard, as represented by the KeyType enum.
    static KeyType
    KeyType.valueOf(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
    Modifier
    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.