Packages This Package Prev Next Index
public interface java.util.Observer { // Methods public abstract void update(Observable o, Object arg); §3.12.1 }A class can implement the Observer interface when it wants to be informed if observable (I-§3.5) objects changes.
public abstract void update(Observable o, Object arg)
o
-
the observable object.
arg
-
an argument passed to the notifyObservers method
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)