T - the observable data typepublic interface Observer<T>
| Modifier and Type | Method and Description |
|---|---|
void |
update(Observable<T> source,
T data)
This method is called whenever the observed object is changed.
|
void update(Observable<T> source, T data) throws Exception
notifyObservers method to have all the object's
observers notified of the change.source - the source of the updatedata - the updated dataException - a possibly thrown exceptionCopyright © 2015–2018 openbase.org. All rights reserved.