|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Subject
Method Summary | |
void |
update(Subject in_subject)
Performs an action when notified by this Observers subject(s). |
Method Detail |
public void update(Subject in_subject)
in_subject
- The subject doing the notification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |