org.crsh.console
Class Mode.Digit

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

public static class Mode.Digit
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.Digit()
           
Mode.Digit(int count)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getCount()
           
 String getKeyMap()
           
 Character getTo()
           
 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.Digit

public Mode.Digit(int count)

Mode.Digit

public Mode.Digit()
Method Detail

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.