Class ShortcutPluginExecuteKeyListener
java.lang.Object
com.vividsolutions.jump.workbench.ui.ShortcutPluginExecuteKeyListener
- All Implemented Interfaces:
KeyListener, EventListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int keyCode, int modifiers, PlugIn plugin, EnableCheck enableCheck) Deprecated.voidbooleanbooleangetEnableCheck(KeyStroke key) static KeyStrokegetPlatformKeyStroke(KeyStroke stroke) create a proper keystroke per platform. used to decorate menus with accelerators.voidvoidvoidtoString()
-
Constructor Details
-
ShortcutPluginExecuteKeyListener
-
-
Method Details
-
add
Deprecated.Legacy method. Use add(KeyStroke key, final PlugIn plugin) instead.- Parameters:
keyCode- code of the shortcut keymodifiers- modifier to use with the keyplugin- PlugIn associated with the shortcutenableCheck- enableCheck defining whether the PlugIn is active or not
-
add
-
contains
-
containsDefinition
-
getPlugIn
-
getEnableCheck
-
getAllKeyStrokes
-
keyTyped
- Specified by:
keyTypedin interfaceKeyListener
-
keyReleased
- Specified by:
keyReleasedin interfaceKeyListener
-
keyPressed
- Specified by:
keyPressedin interfaceKeyListener
-
toString
-
getPlatformKeyStroke
-