Class GlobalInputDispatcher
java.lang.Object
de.hybris.platform.productcockpit.context.GlobalInputDispatcher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()Deprecated.since 6.3voidvoidvoidDeprecated.since 6.3protected voidfireFocusChanged(org.zkoss.zk.ui.Component prev, org.zkoss.zk.ui.Component newOne) protected voidfireKeyPressed(KeyBinding kb, org.zkoss.zk.ui.event.KeyEvent original) getAttribute(String key) Assembles the control key string.protected List<KeyBinding>org.zkoss.zk.ui.Componentstatic GlobalInputDispatchergetKeyBindingText(String code) voidinitView(org.zkoss.zk.ui.Component parent) Deprecated.since 6.3protected voidkeyPressed(org.zkoss.zk.ui.event.KeyEvent evt) protected KeyBindingmatchBinding(int keyCode, int modifiers) protected KeyBindingmatchBinding(org.zkoss.zk.ui.event.KeyEvent evt) protected List<KeyBinding>matchBindings(String code) voidvoidsetAttribute(String key, Object value) voidsetFocused(org.zkoss.zk.ui.Component comp) voidsetGlobalInputListeners(List<GlobalInputListener> listeners) Initially sets global input listeners.voidsetKeyBindings(Map<String, List<KeyBinding>> bindings) voidsetMessageBoxURI(String messageBoxURI) protected voidshowFocus(org.zkoss.zk.ui.Component comp, boolean on) voidtriggerKey(String code)
-
Field Details
-
FOCUSED_STYLE
- See Also:
-
GLOBAL_INPUT_DISPATCHER_BEAN
- See Also:
-
PASTE_TARGET
- See Also:
-
-
Constructor Details
-
GlobalInputDispatcher
public GlobalInputDispatcher()
-
-
Method Details
-
getInstance
-
initView
Deprecated.since 6.3 -
triggerKey
-
getKeyBindingText
-
setKeyBindings
-
getMessageBoxURI
-
setMessageBoxURI
-
setGlobalInputListeners
Initially sets global input listeners.
By now this is auto-wired via spring! -
addGlobalInputListener
-
removeGlobalInputListener
-
getControlKeys
Assembles the control key string. -
getCurrentKeyBindings
-
matchBinding
-
matchBinding
-
matchBindings
-
fireFocusChanged
protected void fireFocusChanged(org.zkoss.zk.ui.Component prev, org.zkoss.zk.ui.Component newOne) -
fireKeyPressed
-
keyPressed
protected void keyPressed(org.zkoss.zk.ui.event.KeyEvent evt) -
deactivate
Deprecated.since 6.3 -
activate
Deprecated.since 6.3 -
getFocused
public org.zkoss.zk.ui.Component getFocused() -
setFocused
public void setFocused(org.zkoss.zk.ui.Component comp) -
showFocus
protected void showFocus(org.zkoss.zk.ui.Component comp, boolean on) -
clearFocus
public void clearFocus() -
setAttribute
-
getAttribute
-