java.util
public interface Observer
See Also: Observable
UNKNOWN: updated to 1.4
Method Summary | |
---|---|
void | update(Observable observable, Object arg)
This method is called whenever the observable object changes, and has
called notifyObservers . |
notifyObservers
. The Observable object can pass
arbitrary information in the second parameter.
Parameters: observable the Observable object that changed arg arbitrary information, usually relating to the change