Uses of Interface
org.springframework.shell.component.view.event.KeyHandler
Packages that use KeyHandler
Package
Description
-
Uses of KeyHandler in org.springframework.shell.component.view.control
Methods in org.springframework.shell.component.view.control that return KeyHandlerModifier and TypeMethodDescriptionAbstractView.getHotKeyHandler()
AppView.getHotKeyHandler()
GridView.getHotKeyHandler()
View.getHotKeyHandler()
Gets aView
hotkeyKeyHandler
.AbstractView.getKeyHandler()
Handles keys by dispatching registered command runnable into an event loop.AppView.getKeyHandler()
ButtonView.getKeyHandler()
GridView.getKeyHandler()
InputView.getKeyHandler()
MenuBarView.getKeyHandler()
View.getKeyHandler()
Gets aView
keyKeyHandler
. -
Uses of KeyHandler in org.springframework.shell.component.view.event
Methods in org.springframework.shell.component.view.event that return KeyHandlerModifier and TypeMethodDescriptionstatic KeyHandler
KeyHandler.neverConsume()
Returns a handler that always returns a non-consumed result.default KeyHandler
KeyHandler.thenConditionally
(KeyHandler other, Predicate<KeyHandler.KeyHandlerResult> predicate) Returns a composed handler that first handlesthis
handler and then handlesother
handler ifpredicate
against result fromthis
matches.default KeyHandler
KeyHandler.thenIfConsumed
(KeyHandler other) Returns a composed handler that first handlesthis
handler and then handlesother
ifthis
consumed an event.default KeyHandler
KeyHandler.thenIfNotConsumed
(KeyHandler other) Returns a composed handler that first handlesthis
handler and then handlesother
ifthis
did not consume an event.Methods in org.springframework.shell.component.view.event with parameters of type KeyHandlerModifier and TypeMethodDescriptiondefault KeyHandler
KeyHandler.thenConditionally
(KeyHandler other, Predicate<KeyHandler.KeyHandlerResult> predicate) Returns a composed handler that first handlesthis
handler and then handlesother
handler ifpredicate
against result fromthis
matches.default KeyHandler
KeyHandler.thenIfConsumed
(KeyHandler other) Returns a composed handler that first handlesthis
handler and then handlesother
ifthis
consumed an event.default KeyHandler
KeyHandler.thenIfNotConsumed
(KeyHandler other) Returns a composed handler that first handlesthis
handler and then handlesother
ifthis
did not consume an event.