The Composite is a generic container widget. It exposes all methods to set layouts and to manage child widgets as public methods. Composites must be configured with a layout manager to define the way the widget's children are positioned.
- Public methods to manage child widgets (add, remove, ...)
- Public setLayout method to define the Composite's layout manager
Composites are used to manually compose widgets. They are always used in combination with a layout manager. The general behavior of this widget is controlled by this layout manager.
Any of the layout demos use Composites:
Here are some links that demonstrate the usage of the widget: