Interface EventHandler.ForObject<E>

Type Parameters:
E - the event type
All Superinterfaces:
EventHandler<E>
Enclosing interface:
EventHandler<E>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static non-sealed interface EventHandler.ForObject<E> extends EventHandler<E>
FunctionalInterface to be implemented, if only the Java event is needed for processing.
  • Method Details

    • handle

      void handle(E event)
      Handles the given event.
      Parameters:
      event - the Java event object