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.

Method Index

 o update(Observable, Object)
This is called if observers in the observable list need to be updated.

Methods

 o 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  Class Hierarchy  This Package  Previous  Next  Index