Class DefaultHotKeyHandler
java.lang.Object
de.hybris.platform.cockpit.session.impl.DefaultHotKeyHandler
- All Implemented Interfaces:
CockpitHotKeyHandler
- Direct Known Subclasses:
AbstractWidgetHotKeyHandler
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DefaultHotKeyHandler
public DefaultHotKeyHandler()
-
-
Method Details
-
handleHotKey
Description copied from interface:CockpitHotKeyHandlerCalled when a registered hot key is pressed.- Specified by:
handleHotKeyin interfaceCockpitHotKeyHandler- Parameters:
data- hot key information - typically a String representing the action code
-
isBusyListener
public boolean isBusyListener()Description copied from interface:CockpitHotKeyHandlerReturns whether busy listener mechanism should be used when handling keyboard shortcut events or not.- Specified by:
isBusyListenerin interfaceCockpitHotKeyHandler- Returns:
trueif busy listener should be used,falseotherwise
-