Unlike most other SWT layouts, this layout does not require layout data to be attached to each child control. Instead, member functions on the Layout are used to control the positioning of controls within the layout.
The interface to this layout is intended to easily support drag-and-drop. Trim widgets can be added, removed, or inserted between other existing widgets and the layout will adjust accordingly. If one side of the layout contains no trim widgets, the central area will expand to reclaim the unused space.
This layout must be told about every widget that it is supposed to arrange. If the composite contains additional widgets, they will not be moved by the layout and may be arranged through other means.
@since 3.0
|
|
|
|