Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.util
Interface Observer  view Observer download Observer.java


public interface Observer

Interface that is implemented when a class wants to be informed of changes in Observable objects.


Method Summary
 void update(Observable observable, java.lang.Object arg)
          This method is called whenever the observable object changes, and has called notifyObservers.
 

Method Detail

update

public void update(Observable observable,
                   java.lang.Object arg)
This method is called whenever the observable object changes, and has called notifyObservers. The Observable object can pass arbitrary information in the second parameter.