Interface CockpitHotKeyHandler
- All Known Implementing Classes:
AbstractWidgetHotKeyHandler,DefaultHotKeyHandler,DefaultWidgetHotKeyHandler
public interface CockpitHotKeyHandler
A
CockpitHotKeyHandler is responsible for handling global keyboard shortcuts within a Cockpit
application.-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleHotKey(Object data) Called when a registered hot key is pressed.booleanReturns whether busy listener mechanism should be used when handling keyboard shortcut events or not.
-
Method Details
-
handleHotKey
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
-