Composite (cont’d)
Consequences
- it is easy to add new primitive objects that can be assembled into composites
- plurality is hidden from interfaces
- black-box reuse
Implementation
- navigating and finding children in a composite
- back pointers to parent?
Known Uses
- GUI Frameworks
- Portfolios
- Syntax trees