Class DefaultHotKeyHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleHotKey​(java.lang.Object data)
      Called when a registered hot key is pressed.
      boolean isBusyListener()
      Returns whether busy listener mechanism should be used when handling keyboard shortcut events or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultHotKeyHandler

        public DefaultHotKeyHandler()
    • Method Detail

      • handleHotKey

        public void handleHotKey​(java.lang.Object data)
        Description copied from interface: CockpitHotKeyHandler
        Called when a registered hot key is pressed.
        Specified by:
        handleHotKey in interface CockpitHotKeyHandler
        Parameters:
        data - hot key information - typically a String representing the action code
      • isBusyListener

        public boolean isBusyListener()
        Description copied from interface: CockpitHotKeyHandler
        Returns whether busy listener mechanism should be used when handling keyboard shortcut events or not.
        Specified by:
        isBusyListener in interface CockpitHotKeyHandler
        Returns:
        true if busy listener should be used, false otherwise