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 aViewhotkeyKeyHandler.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 aViewkeyKeyHandler. -
Uses of KeyHandler in org.springframework.shell.component.view.event
Methods in org.springframework.shell.component.view.event that return KeyHandlerModifier and TypeMethodDescriptionstatic KeyHandlerKeyHandler.neverConsume()Returns a handler that always returns a non-consumed result.default KeyHandlerKeyHandler.thenConditionally(KeyHandler other, Predicate<KeyHandler.KeyHandlerResult> predicate) Returns a composed handler that first handlesthishandler and then handlesotherhandler ifpredicateagainst result fromthismatches.default KeyHandlerKeyHandler.thenIfConsumed(KeyHandler other) Returns a composed handler that first handlesthishandler and then handlesotherifthisconsumed an event.default KeyHandlerKeyHandler.thenIfNotConsumed(KeyHandler other) Returns a composed handler that first handlesthishandler and then handlesotherifthisdid not consume an event.Methods in org.springframework.shell.component.view.event with parameters of type KeyHandlerModifier and TypeMethodDescriptiondefault KeyHandlerKeyHandler.thenConditionally(KeyHandler other, Predicate<KeyHandler.KeyHandlerResult> predicate) Returns a composed handler that first handlesthishandler and then handlesotherhandler ifpredicateagainst result fromthismatches.default KeyHandlerKeyHandler.thenIfConsumed(KeyHandler other) Returns a composed handler that first handlesthishandler and then handlesotherifthisconsumed an event.default KeyHandlerKeyHandler.thenIfNotConsumed(KeyHandler other) Returns a composed handler that first handlesthishandler and then handlesotherifthisdid not consume an event.