KeyStroke
instead.@Deprecated public static class Action.Shortcut extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
keyCode
Deprecated.
key code of shortcut (see KeyEvent)
|
protected int |
keyModifiers
Deprecated.
key modifiers of shortcut (see KeyEvent)
|
Constructor and Description |
---|
Shortcut(int keyCode)
Deprecated.
creates new shortcut
|
Shortcut(int keyCode,
int keyModifiers)
Deprecated.
creates new shortcut
|
Modifier and Type | Method and Description |
---|---|
int |
getKeyCode()
Deprecated.
getter for key code
|
int |
getKeyModifiers()
Deprecated.
getter for key modifiers
|
String |
toString()
Deprecated.
returns String representation of shortcut
|
protected int keyCode
protected int keyModifiers
public Shortcut(int keyCode)
keyCode
- int key code (see KeyEvent)public Shortcut(int keyCode, int keyModifiers)
keyCode
- int key code (see KeyEvent)keyModifiers
- int key modifiers (see KeyEvent)