|
-
Component declares the interface for objects in the composition.
-
If necessary, Component implements default behavior common to all classes.
-
Leaf represents leaf (terminal) objects in the composition.
-
Composite represents a component with children, a tree branch.
-
Composite also implements methods to manipulate children.
|