Interface EventListener<T>

All Known Implementing Classes:
AbstractLaunchAction.NotifyImportModuleOkListener, AbstractLaunchAction.NotifyNewModuleOkListener, AbstractLaunchAction.NotifyOpenModuleFailedListener, AbstractLaunchAction.NotifyOpenModuleOkListener, AbstractLaunchAction.NotifySaveFileOkListener, DotPrinter, DummyEventListener, EventAccumulator, Launcher.CloseRequestListener
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:
EventListenerSupport
  • 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