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
ConstructorsModifierConstructorDescriptionprotected
EventSupport
(S source, Class<L> clazz) protected
EventSupport
(S source, EventListenerList list, Class<L> clazz) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(L listener) void
dispose()
protected S
protected void
notifyListeners
(EventSupport.ListenerNotifier<L> notifier) void
removeListener
(L listener)
-
Constructor Details
-
EventSupport
-
EventSupport
-
-
Method Details
-
getSource
- Returns:
- Source of the event fired.
-
addListener
-
removeListener
-
notifyListeners
-
dispose
public void dispose()- Specified by:
dispose
in interfaceDisposable
-