Interface EventListener<T>

All Known Implementing Classes:
DotPrinter, DummyEventListener, EventAccumulator
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 interface EventListener<T>
An interface for handling events.
Since:
3.2.0
Author:
Joel Uckelman
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    receive(Object src, T event)
    Receive notification of an event.
  • Method Details

    • receive

      void receive(Object src, T event)
      Receive notification of an event.
      Parameters:
      src - the source of the event
      event - the event