Interface CockpitHotKeyHandler

All Known Implementing Classes:
AbstractWidgetHotKeyHandler, DefaultHotKeyHandler, DefaultWidgetHotKeyHandler

public interface CockpitHotKeyHandler
A CockpitHotKeyHandler is responsible for handling global keyboard shortcuts within a Cockpit application.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a registered hot key is pressed.
    boolean
    Returns whether busy listener mechanism should be used when handling keyboard shortcut events or not.
  • Method Details

    • handleHotKey

      void handleHotKey(Object data)
      Called when a registered hot key is pressed.
      Parameters:
      data - hot key information - typically a String representing the action code
    • isBusyListener

      boolean isBusyListener()
      Returns whether busy listener mechanism should be used when handling keyboard shortcut events or not.
      Returns:
      true if busy listener should be used, false otherwise