| java.util.Observer
Observer | public interface Observer (Code) | | Observer must be implemented by objects which are added to an Observable.
|
Method Summary | |
void | update(Observable observable, Object data) When the specified observable object's notifyObservers
method is called and the observable object has changed, this method is
called. |
update | void update(Observable observable, Object data)(Code) | | When the specified observable object's notifyObservers
method is called and the observable object has changed, this method is
called.
Parameters: observable - the observable object Parameters: data - the data passed to notifyObservers |
|
|