net.sourceforge.spark.framework
Interface Observer

All Known Implementing Classes:
Container

public interface Observer

Part of the Observer design pattern.

An Observer is added to a Subject to watch that class. The Observer may be notified by the subject when that subjects state has changed. An Observer may observe more than one Subject.

This pattern is generally used for Widget-Widget interactions.

$Source: /cvsroot/spark/spark/source/java/net/sourceforge/spark/framework/Observer.java,v $
 $Log: Observer.java,v $
 Revision 1.2  2005/07/24 04:03:28  afettes
 no message

 Revision 1.1  2005/07/24 03:55:32  afettes
 Initial commit to CVS.
 

Version:
$Revision: 1.2 $ - $Date: 2005/07/24 04:03:28 $
Author:
$Author: afettes $, Alastair Fettes
See Also:
Subject

Method Summary
 void update(Subject in_subject)
          Performs an action when notified by this Observers subject(s).
 

Method Detail

update

public void update(Subject in_subject)
Performs an action when notified by this Observers subject(s).

Parameters:
in_subject - The subject doing the notification.