Interface java.util.Observer
All Packages Class Hierarchy This Package Previous Next Index
Interface java.util.Observer
- public interface Observer
- extends Object
When implemented, this interface allows all classes to be observable by instances of class Observer.
- update(Observable, Object)
- Called when observers in the observable list need to be updated.
update
public abstract void update(Observable o,
Object arg)
- Called when observers in the observable list need to be updated.
- Parameters:
- o - the list of observers
- arg - the argument being notified
All Packages Class Hierarchy This Package Previous Next Index