public interface IEvent<T extends IObservable>
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.
Modifier and Type | Method and Description |
---|---|
T |
getSource()
The
IObservable that generated the event. |
T getSource()
IObservable
that generated the event.Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.