Module com.googlecode.lanterna
Package com.googlecode.lanterna.input
-
Interface Summary Interface Description CharacterPattern Used to compare a list of character if they match a particular pattern, and in that case, return the kind of keystroke this pattern representsInputProvider Objects implementing this interface can read character streams and transform them intoKey
objects which can be read in a FIFO manner.KeyDecodingProfile In order to convert a stream of characters into objects representing keystrokes, we need to apply logic on this stream to detect special characters. -
Class Summary Class Description AltAndCharacterPattern Character pattern that matches characters pressed while ALT key is held downBasicCharacterPattern Very simple pattern that matches the input stream against a pre-defined list of characters.CharacterPattern.Matching This immutable class describes a matching result.CtrlAltAndCharacterPattern Character pattern that matches characters pressed while ALT and CTRL keys are held downCtrlAndCharacterPattern Character pattern that matches characters pressed while CTRL key is held downDefaultKeyDecodingProfile This profile attempts to collect as many code combinations as possible without causing any collisions between patterns.EscapeSequenceCharacterPattern This implementation of CharacterPattern matches two similar patterns of Escape sequences, that many terminals produce for special keys.InputDecoder Used to read the input stream character by character and generateKey
objects to be put in the input queue.KeyStroke Represents the user pressing a key on the keyboard.KeyStroke.RealF3 an F3-KeyStroke that is distinguishable from a CursorLocation report.MouseAction MouseAction, a KeyStroke in disguise, this class contains the information of a single mouse action event.MouseCharacterPattern Pattern used to detect Xterm-protocol mouse events coming in on the standard input channel Created by martin on 19/07/15.NormalCharacterPattern Character pattern that matches one character as one KeyStroke with the character that was readScreenInfoAction ScreenInfoAction, a KeyStroke in disguise, this class contains the reported position of the screen cursor.ScreenInfoCharacterPattern This class recognizes character combinations which are actually a cursor position report. -
Enum Summary Enum Description EscapeSequenceCharacterPattern.State KeyType This enum is a categorization of the various keys available on a normal computer keyboard that are usable (detectable) by a terminal environment.MouseActionType Enum type for the different kinds of mouse actions supported