Class EventSupport<S,L extends EventListener>

java.lang.Object
com.inductiveautomation.ignition.designer.event.EventSupport<S,L>
Type Parameters:
L - an EventListener subclass
S - the source of an event
All Implemented Interfaces:
Disposable
Direct Known Subclasses:
ChangeEventSupport, DataEventSupport, EventStreamStateTrackerEventSupport, ExpressionValueDocumentListenerSupport, FlowPanelSelectionListenerEventSupport, PropertyChangeEventSupport, TableModelEventSupport

public abstract class EventSupport<S,L extends EventListener> extends Object implements Disposable
Class facilitates the creation of events
  • Constructor Details

    • EventSupport

      protected EventSupport(S source, Class<L> clazz)
    • EventSupport

      protected EventSupport(S source, EventListenerList list, Class<L> clazz)
  • Method Details

    • getSource

      protected S getSource()
      Returns:
      Source of the event fired.
    • addListener

      public void addListener(L listener)
    • removeListener

      public void removeListener(L listener)
    • notifyListeners

      protected void notifyListeners(EventSupport.ListenerNotifier<L> notifier)
    • dispose

      public void dispose()
      Specified by:
      dispose in interface Disposable