Interface EventListener<T>

  • Type Parameters:
    T - the type of event

    public interface EventListener<T>
    General purpose event listener for events.
    • Method Detail

      • onEvent

        void onEvent​(T event)
        Called when an event occurs.
        Parameters:
        event - the event