Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Section: 4 Behavioral Patterns > The Observer Pattern

Chapter 22. The Observer Pattern

In this chapter we discuss how you can use the Observer pattern to present data in several forms at once.

In the more sophisticated windowing world, we often want to display data in more than one form at the same time and have all of the displays reflect any changes in the data. For example, we might represent stock price changes as both a graph and a table or list box. Each time the price changes, we'd expect both representations to change at once without any action on our part.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial