Class DMXEvent


  • public abstract class DMXEvent
    extends Object
    Base class for all events. That is core events as well as plugin events.
    • Constructor Detail

      • DMXEvent

        public DMXEvent​(Class listenerInterface)
    • Method Detail

      • dispatch

        public abstract void dispatch​(EventListener listener,
                                      Object... params)
        Delivers this event to the given listener.
      • getListenerInterface

        public Class getListenerInterface()
        Returns the corresponding listener interface for this event.
      • getEvent

        public static DMXEvent getEvent​(Class listenerInterface)
        Returns the event that corresponds to the given listener interface.