org.crsh.console
Class Mode.Digit
java.lang.Object
org.crsh.console.Mode
org.crsh.console.Mode.Digit
- Enclosing class:
- Mode
public static class Mode.Digit
- extends Mode
Mode.Digit
public Mode.Digit(int count)
Mode.Digit
public Mode.Digit()
getCount
public int getCount()
getTo
public Character getTo()
getKeyMap
public String getKeyMap()
- Specified by:
getKeyMap in class Mode
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Specified by:
toString 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
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.