Package org.aesh.readline.action
Interface Action
- All Superinterfaces:
Consumer<InputProcessor>
- All Known Subinterfaces:
ActionEvent,SearchAction
- All Known Implementing Classes:
BackwardChar,BeginningOfLine,CapitalizeForwardWord,ChangeBackwardBigWord,ChangeBackwardWord,ChangeCaseChar,ChangeEndOfLine,ChangeForwardBigWord,ChangeForwardWord,Clear,Complete,CopyBackwardBigWord,CopyBackwardWord,CopyForwardBigWord,CopyForwardWord,CopyLine,DeleteBackwardBigWord,DeleteBackwardWord,DeleteChar,DeleteEndOfLine,DeleteForwardBigWord,DeleteForwardWord,DeleteLine,DeletePrevChar,DeleteStartOfLine,DownCaseForwardWord,EmacsEditingMode,EndOfFile,EndOfLine,Enter,ForwardChar,ForwardSearchHistory,Interrupt,MoveBackwardBigWord,MoveBackwardWord,MoveForwardBigWord,MoveForwardWord,NextHistory,NoAction,PrevHistory,ReverseSearchHistory,Undo,UpCaseChar,UpCaseForwardWord,ViEditingMode,Yank,YankAfter
Base interface for all readline editing actions.
- Author:
- Ståle W. Pedersen
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InputProcessor inputProcessor) Executes this action on the given input processor.name()Returns the name of this action.
-
Method Details
-
name
String name()Returns the name of this action.- Returns:
- the action name
-
accept
Executes this action on the given input processor.- Specified by:
acceptin interfaceConsumer<InputProcessor>- Parameters:
inputProcessor- the input processor to operate on
-