public class KeyStrokeDefinition extends Object
| Constructor and Description |
|---|
KeyStrokeDefinition(String caption,
int keyCode,
int[] modifierKeys)
Instantiates a new key stroke definition.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCaption()
Returns the caption of the keystroke definition.
|
int |
getKeyCode()
Returns the key code.
|
int[] |
getModifierKeys()
Returns the modifier keys.
|
public KeyStrokeDefinition(String caption, int keyCode, int[] modifierKeys)
caption - the captionkeyCode - the key codemodifierKeys - the modifier keyspublic String getCaption()
^&R which may define
CRTL+ALT+R. But this feature is not supported yet.public int getKeyCode()
KeyCode.public int[] getModifierKeys()
ModifierKey.Copyright © 2013-2016 Loetz GmbH&Co.KG - Heidelberg - Germany, Eclipse OSBP Project, OS.bee