Class OverwriteMode
java.lang.Object
org.aesh.readline.action.mappings.OverwriteMode
- All Implemented Interfaces:
Consumer<InputProcessor>,Action
Toggle overwrite mode. With an explicit positive numeric argument,
switches to overwrite mode. With an explicit non-positive numeric
argument, switches to insert mode.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InputProcessor inputProcessor) Executes this action on the given input processor.name()Returns the name of this action.
-
Constructor Details
-
OverwriteMode
public OverwriteMode()
-
-
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
-