Interface EventListener

All Known Subinterfaces:
EventListener.Typed<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @OverrideOnly public interface EventListener
Event listener functional interface
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Typed event listener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(Event event)
    Handle the event
  • Method Details

    • onEvent

      void onEvent(Event event)
      Handle the event
      Parameters:
      event - Event