Basic HTML version of Foils prepared Sept 23 97

Foil 32 Observer/Observable Model-I

From Tutorial on Scivis Java Visualization System Rome Lab CIV Review, NAVO Miss. Tutorial -- Sept 24-25 97. by Byeongseob Ki, Scott KLasky


If the user select "Check All" mode, all visualization windows update their states according to an event. If the event(click buttons, choose menu item...) occurs, all of the windows would be updated to reflect this event.
The Observer pattern has two participants, Observers and Observables and defines a one to many relationship between them. An Observerable object contains a list of its Observers. When the Observable's state changes it notifies its Observers so that they are updated automatically. This one-to-many relationship of objects is defined by the Observer design pattern.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Sep 23 1997