Interface ActionEvent
- All Superinterfaces:
Action, Consumer<InputProcessor>
- All Known Subinterfaces:
SearchAction
- All Known Implementing Classes:
CharacterSearch, CharacterSearchBackward, Complete, ForwardSearchHistory, FuzzySearchHistory, NonIncrementalForwardSearchHistory, NonIncrementalReverseSearchHistory, QuotedInsert, ReverseSearchHistory
An action that can receive input events and maintain focus state.
- Author:
- Ståle W. Pedersen
-
Method Summary
-
Method Details
-
input
Processes an input event with the given action and key.- Parameters:
action- the action that triggered this inputkey- the key action associated with the input
-
keepFocus
boolean keepFocus()Returns whether this action event should retain focus after processing.- Returns:
- true if this event should keep focus
-