1 *java.util.Observer* *Observer* A class can implement the Observer interface whe
3 public interface interface Observer
6 |java.util.Observer_Description|
7 |java.util.Observer_Fields|
8 |java.util.Observer_Constructors|
9 |java.util.Observer_Methods|
11 ================================================================================
13 *java.util.Observer_Methods*
14 |java.util.Observer.update(Observable,Object)|This method is called whenever th
16 *java.util.Observer_Description*
18 A class can implement the Observer interface when it wants to be informed of
19 changes in observable objects.
22 *java.util.Observer.update(Observable,Object)*
25 java.util.Observable o,
28 This method is called whenever the observed object is changed. An application
29 calls an Observable object's notifyObservers method to have all the object's
30 observers notified of the change.
32 o - the observable object.
33 arg - an argument passed to the notifyObservers method.