Class GlobalInputDispatcher

java.lang.Object
de.hybris.platform.productcockpit.context.GlobalInputDispatcher

public class GlobalInputDispatcher extends Object
  • Field Details

  • Constructor Details

    • GlobalInputDispatcher

      public GlobalInputDispatcher()
  • Method Details

    • getInstance

      public static GlobalInputDispatcher getInstance()
    • initView

      @Deprecated public void initView(org.zkoss.zk.ui.Component parent)
      Deprecated.
      since 6.3
    • triggerKey

      public void triggerKey(String code)
    • getKeyBindingText

      public String getKeyBindingText(String code)
    • setKeyBindings

      public void setKeyBindings(Map<String,List<KeyBinding>> bindings)
    • getMessageBoxURI

      public String getMessageBoxURI()
    • setMessageBoxURI

      public void setMessageBoxURI(String messageBoxURI)
    • setGlobalInputListeners

      public void setGlobalInputListeners(List<GlobalInputListener> listeners)
      Initially sets global input listeners.
      By now this is auto-wired via spring!
    • addGlobalInputListener

      public void addGlobalInputListener(GlobalInputListener l)
    • removeGlobalInputListener

      public void removeGlobalInputListener(GlobalInputListener l)
    • getControlKeys

      public String getControlKeys()
      Assembles the control key string.
    • getCurrentKeyBindings

      protected List<KeyBinding> getCurrentKeyBindings()
    • matchBinding

      protected KeyBinding matchBinding(org.zkoss.zk.ui.event.KeyEvent evt)
    • matchBinding

      protected KeyBinding matchBinding(int keyCode, int modifiers)
    • matchBindings

      protected List<KeyBinding> matchBindings(String code)
    • fireFocusChanged

      protected void fireFocusChanged(org.zkoss.zk.ui.Component prev, org.zkoss.zk.ui.Component newOne)
    • fireKeyPressed

      protected void fireKeyPressed(KeyBinding kb, org.zkoss.zk.ui.event.KeyEvent original)
    • keyPressed

      protected void keyPressed(org.zkoss.zk.ui.event.KeyEvent evt)
    • deactivate

      @Deprecated public void deactivate()
      Deprecated.
      since 6.3
    • activate

      @Deprecated public void 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

      public void setAttribute(String key, Object value)
    • getAttribute

      public Object getAttribute(String key)