Class ChangeCaseChar

java.lang.Object
org.aesh.readline.action.mappings.ChangeCaseChar
All Implemented Interfaces:
Consumer<InputProcessor>, Action

public class ChangeCaseChar extends Object implements Action
Action that toggles the case of the character at cursor and moves forward.
Author:
Ståle W. Pedersen
  • Constructor Details

    • ChangeCaseChar

      public ChangeCaseChar()
      Creates a new change case char action.
  • Method Details

    • name

      public String name()
      Description copied from interface: Action
      Returns the name of this action.
      Specified by:
      name in interface Action
      Returns:
      the action name
    • accept

      public void accept(InputProcessor inputProcessor)
      Description copied from interface: Action
      Executes this action on the given input processor.
      Specified by:
      accept in interface Action
      Specified by:
      accept in interface Consumer<InputProcessor>
      Parameters:
      inputProcessor - the input processor to operate on