Class CharacterSearchBackward
java.lang.Object
org.aesh.readline.action.mappings.CharacterSearchBackward
- All Implemented Interfaces:
Consumer<InputProcessor>,Action,ActionEvent
Read a character and move point to the previous occurrence of that character.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InputProcessor inputProcessor) Executes this action on the given input processor.voidProcesses an input event with the given action and key.booleanReturns whether this action event should retain focus after processing.name()Returns the name of this action.
-
Constructor Details
-
CharacterSearchBackward
public CharacterSearchBackward()
-
-
Method Details
-
name
Description copied from interface:ActionReturns the name of this action. -
accept
Description copied from interface:ActionExecutes this action on the given input processor.- Specified by:
acceptin interfaceAction- Specified by:
acceptin interfaceConsumer<InputProcessor>- Parameters:
inputProcessor- the input processor to operate on
-
input
Description copied from interface:ActionEventProcesses an input event with the given action and key.- Specified by:
inputin interfaceActionEvent- Parameters:
action- the action that triggered this inputkey- the key action associated with the input
-
keepFocus
public boolean keepFocus()Description copied from interface:ActionEventReturns whether this action event should retain focus after processing.- Specified by:
keepFocusin interfaceActionEvent- Returns:
- true if this event should keep focus
-