    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface java.util.Observer

public interface Observer

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