Class DefaultWidgetHotKeyHandler
java.lang.Object
de.hybris.platform.cockpit.session.impl.DefaultHotKeyHandler
de.hybris.platform.cockpit.session.impl.AbstractWidgetHotKeyHandler
de.hybris.platform.cockpit.session.impl.DefaultWidgetHotKeyHandler
- All Implemented Interfaces:
CockpitHotKeyHandler
-
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.Methods inherited from class de.hybris.platform.cockpit.session.impl.AbstractWidgetHotKeyHandler
focusWidget
-
Constructor Details
-
DefaultWidgetHotKeyHandler
public DefaultWidgetHotKeyHandler()
-
-
Method Details
-
handleHotKey
Description copied from interface:CockpitHotKeyHandlerCalled when a registered hot key is pressed.- Specified by:
handleHotKeyin interfaceCockpitHotKeyHandler- Overrides:
handleHotKeyin classDefaultHotKeyHandler- 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- Overrides:
isBusyListenerin classDefaultHotKeyHandler- Returns:
trueif busy listener should be used,falseotherwise
-