java.util.Observer |
Observer
is the interface to be implemented by objects that
receive notification of updates on an Observable
object.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is called if the specified
Observable object's
notifyObservers method is called (because the Observable
object has been updated. |
This method is called if the specified Observable
object's
notifyObservers
method is called (because the Observable
object has been updated.
observable | the Observable object. |
---|---|
data | the data passed to notifyObservers(Object) .
|