Interface java.util.Observer
All Packages This Package Previous Next
Interface java.util.Observer
-
public interface
Observer
-
extends Object
When implemented, this interface allows all classes
to be observable by instances of class Observer.
-
Version:
-
1.7 07/28/95
-
Author:
-
Chris Warth
-
update(Observable, Object)
-
This is called if observers in the observable list need to be
updated.
update
public abstract void update(Observable o,
Object arg)
-
This is called if observers in the observable list need to be
updated.
-
Parameters:
-
o
-
the list of observers
-
arg
-
the argument being notified
All Packages This Package Previous Next