org.crsh.console
Class Mode.ChangeChar
java.lang.Object
org.crsh.console.Mode
org.crsh.console.Mode.ChangeChar
- Enclosing class:
- Mode
public static class Mode.ChangeChar
- extends Mode
|
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()
|
Mode.ChangeChar
public Mode.ChangeChar(int count)
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.