public interface Observer
An Observer is the corresponding interface to the
Observable: The Observer is watching the
Observable.
If the Observable changes its state, it calls the
Observers setObservableState() method.
| Modifier and Type | Method and Description |
|---|---|
void |
notify(java.lang.Object pObject)
The Observable indicates that its state has
changed.
|