Uses of Class
com.googlecode.lanterna.input.KeyStroke
-
-
Uses of KeyStroke in com.googlecode.lanterna.gui2
Methods in com.googlecode.lanterna.gui2 that return KeyStroke Modifier and Type Method Description protected KeyStrokeAbstractTextGUI. pollInput()Polls the underlying input queue for user input, returning either aKeyStrokeornullprotected KeyStrokeAbstractTextGUI. readKeyStroke()Reads one key from the input queue, blocking or non-blocking depending on if blocking I/O has been enabled.protected KeyStrokeMultiWindowTextGUI. readKeyStroke()Methods in com.googlecode.lanterna.gui2 with parameters of type KeyStroke Modifier and Type Method Description private booleanAbstractBasePane. doHandleInput(KeyStroke key)protected booleanAbstractTextGUI. fireUnhandledKeyStroke(KeyStroke keyStroke)This method should be called when there was user input that wasn't handled by the GUI.private Interactable.ResultComboBox. handleEditableCBKeyStroke(KeyStroke keyStroke)booleanAbstractBasePane. handleInput(KeyStroke key)booleanAbstractComposite. handleInput(KeyStroke key)Interactable.ResultAbstractInteractableComponent. handleInput(KeyStroke keyStroke)protected abstract booleanAbstractTextGUI. handleInput(KeyStroke key)This method should take the user input and feed it to the focused component for handling.booleanAbstractWindow. handleInput(KeyStroke key)booleanBasePane. handleInput(KeyStroke key)Called by the GUI system to delegate a keyboard input event.booleanComboBox.PopupWindow. handleInput(KeyStroke keyStroke)booleanContainer. handleInput(KeyStroke key)If an interactable component inside this container received a keyboard event that wasn't handled, the GUI system will recursively send the event to each parent container to give each of them a chance to consume the event.Interactable.ResultInteractable. handleInput(KeyStroke keyStroke)Accepts a KeyStroke as input and processes this as a user input.booleanMultiWindowTextGUI. handleInput(KeyStroke keyStroke)booleanPanel. handleInput(KeyStroke key)booleanWindow. handleInput(KeyStroke key)Called by the GUI system's window manager when it has decided that this window should receive the keyboard input.protected Interactable.ResultAbstractInteractableComponent. handleKeyStroke(KeyStroke keyStroke)This method can be overridden to handle various user input (mostly from the keyboard) when this component is in focus.Interactable.ResultAbstractListBox. handleKeyStroke(KeyStroke keyStroke)Interactable.ResultActionListBox. handleKeyStroke(KeyStroke keyStroke)Interactable.ResultButton. handleKeyStroke(KeyStroke keyStroke)Interactable.ResultCheckBox. handleKeyStroke(KeyStroke keyStroke)Interactable.ResultCheckBoxList. handleKeyStroke(KeyStroke keyStroke)Interactable.ResultComboBox. handleKeyStroke(KeyStroke keyStroke)Interactable.ResultImageComponent. handleKeyStroke(KeyStroke keyStroke)Interactable.ResultRadioBoxList. handleKeyStroke(KeyStroke keyStroke)Interactable.ResultTextBox. handleKeyStroke(KeyStroke keyStroke)private Interactable.ResultTextBox. handleKeyStrokeReadOnly(KeyStroke keyStroke)private Interactable.ResultComboBox. handleReadOnlyCBKeyStroke(KeyStroke keyStroke)protected voidMultiWindowTextGUI. ifMouseDownPossiblyChangeActiveWindow(KeyStroke keyStroke)protected voidMultiWindowTextGUI. ifMouseDownPossiblyStartTitleDrag(KeyStroke keyStroke)protected voidMultiWindowTextGUI. ifMouseDragPossiblyMoveWindow(KeyStroke keyStroke)booleanAbstractInteractableComponent. isActivationStroke(KeyStroke keyStroke)booleanAbstractInteractableComponent. isKeyboardActivationStroke(KeyStroke keyStroke)booleanAbstractInteractableComponent. isMouseActivationStroke(KeyStroke keyStroke)booleanAbstractInteractableComponent. isMouseDown(KeyStroke keyStroke)booleanAbstractInteractableComponent. isMouseDrag(KeyStroke keyStroke)booleanAbstractInteractableComponent. isMouseMove(KeyStroke keyStroke)booleanAbstractInteractableComponent. isMouseUp(KeyStroke keyStroke)voidBasePaneListener. onInput(T basePane, KeyStroke keyStroke, java.util.concurrent.atomic.AtomicBoolean deliverEvent)Called when a user input is about to be delivered to the focusedInteractableinside theBasePane, but before it is actually delivered.booleanInputFilter. onInput(Interactable interactable, KeyStroke keyStroke)Called when the component is about to receive input from the user and decides if the input should be passed on to the component or notvoidWindowListenerAdapter. onInput(Window basePane, KeyStroke keyStroke, java.util.concurrent.atomic.AtomicBoolean deliverEvent)voidBasePaneListener. onUnhandledInput(T basePane, KeyStroke keyStroke, java.util.concurrent.atomic.AtomicBoolean hasBeenHandled)Called when a user entered some input which wasn't handled by the focused component.voidWindowListenerAdapter. onUnhandledInput(Window basePane, KeyStroke keyStroke, java.util.concurrent.atomic.AtomicBoolean hasBeenHandled)booleanTextGUI.Listener. onUnhandledKeyStroke(TextGUI textGUI, KeyStroke keyStroke)Fired either when no component was in focus during a keystroke or if the focused component and all its parent containers chose not to handle the event.protected voidComboBox. showPopup(KeyStroke keyStroke) -
Uses of KeyStroke in com.googlecode.lanterna.gui2.menu
Methods in com.googlecode.lanterna.gui2.menu with parameters of type KeyStroke Modifier and Type Method Description booleanMenuBar. handleInput(KeyStroke key)protected Interactable.ResultMenuItem. handleKeyStroke(KeyStroke keyStroke) -
Uses of KeyStroke in com.googlecode.lanterna.gui2.table
Methods in com.googlecode.lanterna.gui2.table with parameters of type KeyStroke Modifier and Type Method Description Interactable.ResultTable. handleKeyStroke(KeyStroke keyStroke) -
Uses of KeyStroke in com.googlecode.lanterna.input
Subclasses of KeyStroke in com.googlecode.lanterna.input Modifier and Type Class Description static classKeyStroke.RealF3an F3-KeyStroke that is distinguishable from a CursorLocation report.classMouseActionMouseAction, a KeyStroke in disguise, this class contains the information of a single mouse action event.classScreenInfoActionScreenInfoAction, a KeyStroke in disguise, this class contains the reported position of the screen cursor.Fields in com.googlecode.lanterna.input declared as KeyStroke Modifier and Type Field Description KeyStrokeCharacterPattern.Matching. fullMatchprivate KeyStrokeBasicCharacterPattern. resultMethods in com.googlecode.lanterna.input that return KeyStroke Modifier and Type Method Description static KeyStrokeKeyStroke. fromString(java.lang.String keyStr)Creates a Key from a string representation in Vim's key notation.protected KeyStrokeEscapeSequenceCharacterPattern. getKeyStroke(KeyType key, int mods)combines a KeyType and modifiers into a KeyStroke.protected KeyStrokeEscapeSequenceCharacterPattern. getKeyStrokeRaw(char first, int num1, int num2, char last, boolean bEsc)combines the raw parts of the sequence into a KeyStroke.protected KeyStrokeScreenInfoCharacterPattern. getKeyStrokeRaw(char first, int num1, int num2, char last, boolean bEsc)KeyStrokeInputDecoder. getNextCharacter(boolean blockingIO)Reads and decodes the next key stroke from the input streamKeyStrokeBasicCharacterPattern. getResult()Returns the keystroke that this pattern results inKeyStrokeInputProvider. pollInput()Returns the nextKeyoff the input queue or null if there is no more input events available.KeyStrokeInputProvider. readInput()Returns the nextKeyoff the input queue or blocks until one is available.Methods in com.googlecode.lanterna.input with parameters of type KeyStroke Modifier and Type Method Description static ScreenInfoActionScreenInfoCharacterPattern. tryToAdopt(KeyStroke ks)Constructors in com.googlecode.lanterna.input with parameters of type KeyStroke Constructor Description BasicCharacterPattern(KeyStroke result, char... pattern)Creates a new BasicCharacterPattern that matches a particular sequence of characters into aKeyStrokeMatching(boolean partialMatch, KeyStroke fullMatch)General constructorMatching(KeyStroke fullMatch)Convenience constructor for exact matches -
Uses of KeyStroke in com.googlecode.lanterna.screen
Methods in com.googlecode.lanterna.screen that return KeyStroke Modifier and Type Method Description private KeyStrokeVirtualScreen. filter(KeyStroke keyStroke)KeyStrokeTerminalScreen. pollInput()KeyStrokeVirtualScreen. pollInput()KeyStrokeTerminalScreen. readInput()KeyStrokeVirtualScreen. readInput()Methods in com.googlecode.lanterna.screen with parameters of type KeyStroke Modifier and Type Method Description private KeyStrokeVirtualScreen. filter(KeyStroke keyStroke) -
Uses of KeyStroke in com.googlecode.lanterna.terminal
Methods in com.googlecode.lanterna.terminal that return KeyStroke Modifier and Type Method Description KeyStrokeIOSafeTerminal. pollInput()KeyStrokeIOSafeTerminalAdapter. pollInput()KeyStrokeIOSafeTerminal. readInput()KeyStrokeIOSafeTerminalAdapter. readInput() -
Uses of KeyStroke in com.googlecode.lanterna.terminal.ansi
Fields in com.googlecode.lanterna.terminal.ansi with type parameters of type KeyStroke Modifier and Type Field Description private java.util.Queue<KeyStroke>StreamBasedTerminal. keyQueueMethods in com.googlecode.lanterna.terminal.ansi that return KeyStroke Modifier and Type Method Description private KeyStrokeANSITerminal. filterMouseEvents(KeyStroke keyStroke)KeyStrokeANSITerminal. pollInput()KeyStrokeStreamBasedTerminal. pollInput()KeyStrokeUnixLikeTerminal. pollInput()KeyStrokeANSITerminal. readInput()KeyStrokeStreamBasedTerminal. readInput()private KeyStrokeStreamBasedTerminal. readInput(boolean blocking, boolean useKeyQueue)KeyStrokeUnixLikeTerminal. readInput()Methods in com.googlecode.lanterna.terminal.ansi with parameters of type KeyStroke Modifier and Type Method Description private KeyStrokeANSITerminal. filterMouseEvents(KeyStroke keyStroke)private voidUnixLikeTerminal. isCtrlC(KeyStroke key) -
Uses of KeyStroke in com.googlecode.lanterna.terminal.swing
Fields in com.googlecode.lanterna.terminal.swing with type parameters of type KeyStroke Modifier and Type Field Description private java.util.concurrent.BlockingQueue<KeyStroke>GraphicalTerminalImplementation. keyQueueMethods in com.googlecode.lanterna.terminal.swing that return KeyStroke Modifier and Type Method Description KeyStrokeAWTTerminal. pollInput()KeyStrokeAWTTerminalFrame. pollInput()KeyStrokeGraphicalTerminalImplementation. pollInput()KeyStrokeScrollingAWTTerminal. pollInput()KeyStrokeScrollingSwingTerminal. pollInput()KeyStrokeSwingTerminal. pollInput()KeyStrokeSwingTerminalFrame. pollInput()KeyStrokeAWTTerminal. readInput()KeyStrokeAWTTerminalFrame. readInput()KeyStrokeAWTTerminalImplementation. readInput()KeyStrokeGraphicalTerminalImplementation. readInput()KeyStrokeScrollingAWTTerminal. readInput()KeyStrokeScrollingSwingTerminal. readInput()KeyStrokeSwingTerminal. readInput()KeyStrokeSwingTerminalFrame. readInput()KeyStrokeSwingTerminalImplementation. readInput()Methods in com.googlecode.lanterna.terminal.swing with parameters of type KeyStroke Modifier and Type Method Description voidAWTTerminal. addInput(KeyStroke keyStroke)Takes a KeyStroke and puts it on the input queue of the terminal emulator.voidAWTTerminalFrame. addInput(KeyStroke keyStroke)Takes a KeyStroke and puts it on the input queue of the terminal emulator.(package private) voidGraphicalTerminalImplementation. addInput(KeyStroke keyStroke)voidScrollingAWTTerminal. addInput(KeyStroke keyStroke)Takes a KeyStroke and puts it on the input queue of the terminal emulator.voidScrollingSwingTerminal. addInput(KeyStroke keyStroke)Takes a KeyStroke and puts it on the input queue of the terminal emulator.voidSwingTerminal. addInput(KeyStroke keyStroke)Takes a KeyStroke and puts it on the input queue of the terminal emulator.voidSwingTerminalFrame. addInput(KeyStroke keyStroke)Takes a KeyStroke and puts it on the input queue of the terminal emulator. -
Uses of KeyStroke in com.googlecode.lanterna.terminal.virtual
Fields in com.googlecode.lanterna.terminal.virtual with type parameters of type KeyStroke Modifier and Type Field Description private java.util.concurrent.BlockingQueue<KeyStroke>DefaultVirtualTerminal. inputQueueMethods in com.googlecode.lanterna.terminal.virtual that return KeyStroke Modifier and Type Method Description KeyStrokeDefaultVirtualTerminal. pollInput()KeyStrokeDefaultVirtualTerminal. readInput()Methods in com.googlecode.lanterna.terminal.virtual with parameters of type KeyStroke Modifier and Type Method Description voidDefaultVirtualTerminal. addInput(KeyStroke keyStroke)voidVirtualTerminal. addInput(KeyStroke keyStroke)Adds aKeyStroketo the input queue of this virtual terminal.
-