Interface CockpitHotKeyHandler
-
- All Known Implementing Classes:
AbstractWidgetHotKeyHandler,DefaultHotKeyHandler,DefaultWidgetHotKeyHandler
public interface CockpitHotKeyHandlerACockpitHotKeyHandleris responsible for handling global keyboard shortcuts within a Cockpit application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleHotKey(java.lang.Object data)Called when a registered hot key is pressed.booleanisBusyListener()Returns whether busy listener mechanism should be used when handling keyboard shortcut events or not.
-
-
-
Method Detail
-
handleHotKey
void handleHotKey(java.lang.Object data)
Called when a registered hot key is pressed.- Parameters:
data- hot key information - typically a String representing the action code
-
isBusyListener
boolean isBusyListener()
Returns whether busy listener mechanism should be used when handling keyboard shortcut events or not.- Returns:
trueif busy listener should be used,falseotherwise
-
-