26.6 The COMPOSITE Pattern (cont.)
- Example of the COMPOSITE pattern
- Pimitive objects can be grouped into composite objects
- Composites are primitives
- E.g., in an HTML editor, elements can be grouped in a table, and the
table is an element
prev
|top
|next