Package org.aesh.readline.action
Interface Action
- All Superinterfaces:
Consumer<InputProcessor>
- All Known Subinterfaces:
ActionEvent,SearchAction
- All Known Implementing Classes:
BackwardChar,BeginningOfHistory,BeginningOfLine,CapitalizeForwardWord,ChangeBackwardBigWord,ChangeBackwardWord,ChangeCaseChar,ChangeEndOfLine,ChangeForwardBigWord,ChangeForwardWord,CharacterSearch,CharacterSearchBackward,Clear,Complete,CopyBackwardBigWord,CopyBackwardWord,CopyForwardBigWord,CopyForwardWord,CopyLine,DeleteBackwardBigWord,DeleteBackwardWord,DeleteChar,DeleteCharOrList,DeleteEndOfLine,DeleteForwardBigWord,DeleteForwardWord,DeleteHorizontalSpace,DeleteLine,DeletePrevChar,DeleteStartOfLine,DownCaseForwardWord,EmacsEditingMode,EndOfFile,EndOfHistory,EndOfLine,Enter,ExchangePointAndMark,ForwardChar,ForwardSearchHistory,HistorySearchBackward,HistorySearchForward,InsertComment,Interrupt,KillRegion,MoveBackwardBigWord,MoveBackwardWord,MoveForwardBigWord,MoveForwardWord,NextHistory,NoAction,NonIncrementalForwardSearchHistory,NonIncrementalReverseSearchHistory,OverwriteMode,PossibleCompletions,PrevHistory,QuotedInsert,RedrawCurrentLine,ReverseSearchHistory,RevertLine,SetMark,TildeExpand,TransposeChars,TransposeWords,Undo,UnixFilenameRubout,UpCaseChar,UpCaseForwardWord,ViEditingMode,Yank,YankAfter,YankLastArg,YankNthArg,YankPop
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
-