org.crsh.console
Class Mode.ChangeChar

java.lang.Object
  extended by org.crsh.console.Mode
      extended by org.crsh.console.Mode.ChangeChar
Enclosing class:
Mode

public static class Mode.ChangeChar
extends Mode


Nested Class Summary
static class EditorAction.History
           
 
Nested classes/interfaces inherited from class org.crsh.console.Mode
Mode.ChangeChar, Mode.Digit
 
Field Summary
 
Fields inherited from class org.crsh.console.Mode
CHANGE_TO, DELETE_TO, EMACS, VI_INSERT, VI_MOVE, YANK_TO
 
Constructor Summary
Mode.ChangeChar(int count)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getKeyMap()
           
 org.crsh.console.EditorAction on(org.crsh.console.KeyStroke keyStroke)
          Transform a key stroke into a editor action.
 org.crsh.console.EditorAction repeat(int count)
           
 org.crsh.console.EditorAction then(org.crsh.console.EditorAction action)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Mode.ChangeChar

public Mode.ChangeChar(int count)
Method Detail

getKeyMap

public String getKeyMap()
Specified by:
getKeyMap in class Mode

on

public org.crsh.console.EditorAction on(org.crsh.console.KeyStroke keyStroke)
Description copied from class: Mode
Transform a key stroke into a editor action. If no action must be taken, null should be returned.

Overrides:
on in class Mode
Parameters:
keyStroke - the key stroke
Returns:
the editor action

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Specified by:
toString in class Mode

then

public org.crsh.console.EditorAction then(org.crsh.console.EditorAction action)

repeat

public org.crsh.console.EditorAction repeat(int count)


Copyright © 2015 eXo Platform SAS. All Rights Reserved.