Class CockpitEventUtils


  • public final class CockpitEventUtils
    extends java.lang.Object
    Utility methods for handling global cockpit events.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void disableGlobalEvents​(boolean disabled)
      Disable/enable global events
      static void dispatchGlobalEvents​(CockpitEventQueue cockpitEventQueue)
      Fetches all events that are currently in the queue for the current desktop and calls them.
      • Methods inherited from class java.lang.Object

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

      • GLOBAL_EVENT_LISTENERS_MAP

        public static final java.lang.String GLOBAL_EVENT_LISTENERS_MAP
        See Also:
        Constant Field Values
    • Method Detail

      • disableGlobalEvents

        public static void disableGlobalEvents​(boolean disabled)
        Disable/enable global events
        Parameters:
        disabled -
      • dispatchGlobalEvents

        public static void dispatchGlobalEvents​(CockpitEventQueue cockpitEventQueue)
        Fetches all events that are currently in the queue for the current desktop and calls them. For internal use only.