|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
void |
notify(java.lang.Object pObject)
The Observable indicates that its state has changed. |
Method Detail |
---|
void notify(java.lang.Object pObject)
The Observable indicates that its state has changed. The Observer must inspect the Observable to detect what exactly has changed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |