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
public class DefaultWidgetHotKeyHandler extends AbstractWidgetHotKeyHandler
-
-
Constructor Summary
Constructors Constructor Description DefaultWidgetHotKeyHandler()
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class de.hybris.platform.cockpit.session.impl.AbstractWidgetHotKeyHandler
focusWidget
-
-
-
-
Method Detail
-
handleHotKey
public void handleHotKey(java.lang.Object data)
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
-
-