jline.console
Class KeyMap
java.lang.Object
jline.console.KeyMap
public class KeyMap
- extends Object
The KeyMap class contains all bindings from keys to operations.
- Since:
- 2.6
- Author:
- Guillaume Nodet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VI_MOVE
public static final String VI_MOVE
- See Also:
- Constant Field Values
VI_INSERT
public static final String VI_INSERT
- See Also:
- Constant Field Values
EMACS
public static final String EMACS
- See Also:
- Constant Field Values
EMACS_STANDARD
public static final String EMACS_STANDARD
- See Also:
- Constant Field Values
EMACS_CTLX
public static final String EMACS_CTLX
- See Also:
- Constant Field Values
EMACS_META
public static final String EMACS_META
- See Also:
- Constant Field Values
CTRL_D
public static final char CTRL_D
- See Also:
- Constant Field Values
CTRL_G
public static final char CTRL_G
- See Also:
- Constant Field Values
CTRL_H
public static final char CTRL_H
- See Also:
- Constant Field Values
CTRL_I
public static final char CTRL_I
- See Also:
- Constant Field Values
CTRL_J
public static final char CTRL_J
- See Also:
- Constant Field Values
CTRL_M
public static final char CTRL_M
- See Also:
- Constant Field Values
CTRL_R
public static final char CTRL_R
- See Also:
- Constant Field Values
CTRL_S
public static final char CTRL_S
- See Also:
- Constant Field Values
CTRL_U
public static final char CTRL_U
- See Also:
- Constant Field Values
CTRL_X
public static final char CTRL_X
- See Also:
- Constant Field Values
CTRL_Y
public static final char CTRL_Y
- See Also:
- Constant Field Values
ESCAPE
public static final char ESCAPE
- See Also:
- Constant Field Values
CTRL_OB
public static final char CTRL_OB
- See Also:
- Constant Field Values
CTRL_CB
public static final char CTRL_CB
- See Also:
- Constant Field Values
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
KeyMap
public KeyMap(String name,
boolean isViKeyMap)
KeyMap
protected KeyMap(String name,
Object[] mapping,
boolean isViKeyMap)
isViKeyMap
public boolean isViKeyMap()
getName
public String getName()
getAnotherKey
public Object getAnotherKey()
from
public void from(KeyMap other)
getBound
public Object getBound(CharSequence keySeq)
bindIfNotBound
public void bindIfNotBound(CharSequence keySeq,
Object function)
bind
public void bind(CharSequence keySeq,
Object function)
setBlinkMatchingParen
public void setBlinkMatchingParen(boolean on)
isMeta
public static boolean isMeta(char c)
unMeta
public static char unMeta(char c)
meta
public static char meta(char c)
keyMaps
public static Map<String,KeyMap> keyMaps()
emacs
public static KeyMap emacs()
emacsCtrlX
public static KeyMap emacsCtrlX()
emacsMeta
public static KeyMap emacsMeta()
viInsertion
public static KeyMap viInsertion()
viMovement
public static KeyMap viMovement()
Copyright © 2013. All Rights Reserved.