Class Complete
java.lang.Object
org.aesh.readline.action.mappings.Complete
- All Implemented Interfaces:
Consumer<InputProcessor>, Action, ActionEvent
Action that triggers tab completion for the current input.
- Author:
- Ståle W. Pedersen
-
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
-
Complete
public Complete()Creates a new complete action.
-
-
Method Details
-
name
-
accept
-
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
-