Interface IEvent<T extends IObservable>
- All Known Subinterfaces:
IModelReference.IModelChangeEvent<T>
- All Known Implementing Classes:
ClusterConfigEvent
,JcrEvent
,ObservableTreeModel.ObservableTreeModelEvent
,ObservableTreeModel.TranslationEvent
,PluginConfigEvent
,TypeDescriptorEvent
public interface IEvent<T extends IObservable>
Event generated by an
IObservable
. Implementations of IObservable
are
encouraged to provide an IEvent subclass as part of their API.
Events are sent by observables by invoking IObservationContext.notifyObservers(EventCollection)
.
They are received by observers in their IObserver.onEvent(java.util.Iterator)
method.
-
Method Summary
-
Method Details
-
getSource
T getSource()TheIObservable
that generated the event.
-