Class EventSupport<S,L extends EventListener>
java.lang.Object
com.inductiveautomation.ignition.designer.event.EventSupport<S,L>
- Type Parameters:
L- an EventListener subclassS- the source of an event
- All Implemented Interfaces:
Disposable
- Direct Known Subclasses:
ChangeEventSupport,DataEventSupport,EventStreamStateTrackerEventSupport,ExpressionValueDocumentListenerSupport,FlowPanelSelectionListenerEventSupport,PropertyChangeEventSupport,TableModelEventSupport
Class facilitates the creation of events
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEventSupport(S source, Class<L> clazz) protectedEventSupport(S source, EventListenerList list, Class<L> clazz) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(L listener) voiddispose()protected Sprotected voidnotifyListeners(EventSupport.ListenerNotifier<L> notifier) voidremoveListener(L listener)
-
Constructor Details
-
EventSupport
-
EventSupport
-
-
Method Details
-
getSource
- Returns:
- Source of the event fired.
-
addListener
-
removeListener
-
notifyListeners
-
dispose
public void dispose()- Specified by:
disposein interfaceDisposable
-