Design Patterns by Elements Of Reusable Object Oriented Software

Design Patterns by Elements Of Reusable Object Oriented Software

Author:Elements Of Reusable Object Oriented Software [Software, Elements Of Reusable Object Oriented]
Format: epub
Publisher: ePub Bud (www.epubbud.com)
Published: 2011-08-23T16:00:00+00:00


The Bridge pattern addresses these problems by putting the Window abstraction and its implementation in separate class hierarchies. There is one class hierarchy for window interfaces (Window, IconWindow, TransientWindow) and a separate hierarchy for platform-specific window implementations, with WindowImp as its root. The XWindowImp subclass, for example, provides an implementation based on the X Window System.

All operations on Window subclasses are implemented in terms of abstract operations from the WindowImp interface. This decouples the window abstractions from the various platform-specific implementations. We refer to the relationship between Window and WindowImp as a bridge, because it bridges the abstraction and its implementation, letting them vary independently.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.