Class EventDispatcher

    • Constructor Detail

      • EventDispatcher

        public EventDispatcher​(java.lang.Object pOwner)
    • Method Detail

      • addNotificationListener

        public void addNotificationListener​(EventType type,
                                            INotificationListener listener)
        Description copied from interface: INotificationSupport
        Add listener to the collection of objects to be informed when the receiver triggers an event of type name.
        Specified by:
        addNotificationListener in interface INotificationSupport
        Parameters:
        type - The event type we are interested in.
        listener - The object to be informed about an event occurrence
      • clear

        public void clear()
      • getOwner

        public java.lang.Object getOwner()
      • isEmpty

        public boolean isEmpty()
      • triggerEvent

        public void triggerEvent​(Event event)
      • triggerEventReverse

        public void triggerEventReverse​(Event event)