|
|||||||||
| Home >> All >> com >> maddyhome >> idea >> vim >> [ key overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.maddyhome.idea.vim.key
Class Shortcut

java.lang.Objectcom.maddyhome.idea.vim.key.Shortcut
- public class Shortcut
- extends java.lang.Object
This is a simple wrapper around a set of keystrokes. The various constructors make it easy to create the keystroke set from simple characters and strings.
| Field Summary | |
private javax.swing.KeyStroke[] |
keys
|
| Constructor Summary | |
Shortcut(char c)
Create a shortcut containing one keystroke represented by the supplied character |
|
Shortcut(javax.swing.KeyStroke key)
Creates a shortcut from the supplied keystroke |
|
Shortcut(javax.swing.KeyStroke[] keys)
Creates a shortcut based on the supplied list of keystrokes |
|
Shortcut(java.lang.String keys)
Creates a sequence of keystrokes represented by the characters of the supplied string |
|
| Method Summary | |
javax.swing.KeyStroke[] |
getKeys()
Returns the list of keystrokes in this shortcut |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
keys
private javax.swing.KeyStroke[] keys
| Constructor Detail |
Shortcut
public Shortcut(char c)
- Create a shortcut containing one keystroke represented by the supplied character
Shortcut
public Shortcut(java.lang.String keys)
- Creates a sequence of keystrokes represented by the characters of the supplied string
Shortcut
public Shortcut(javax.swing.KeyStroke key)
- Creates a shortcut from the supplied keystroke
Shortcut
public Shortcut(javax.swing.KeyStroke[] keys)
- Creates a shortcut based on the supplied list of keystrokes
| Method Detail |
getKeys
public javax.swing.KeyStroke[] getKeys()
- Returns the list of keystrokes in this shortcut
|
|||||||||
| Home >> All >> com >> maddyhome >> idea >> vim >> [ key overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.maddyhome.idea.vim.key.Shortcut