Top Description Classes
[default module]

Package org.eclipse.swt.layout


SWT layout classes.

Package Specification

This package contains several standard layout classes which provide automated positioning and sizing support for SWT widgets.

Class Summary

Modifier and TypeClass and Description
public class
BorderData

Controls the several aspects of a BorderLayout.

public class
BorderLayout

BorderLayout places controls in five regions

+--------------------------------+
|       NORTH / TOP              |
+---+------------------------+---+
|   |                        |   |
| W |                        | E |
| E |                        | A |
| S |                        | S |
| T |                        | T |
| / |                        | / |
| L |       CENTER           | R |
| E |                        | I |
| F |                        | G |
| T |                        | H |
|   |                        | T |
|   |                        |   |
+---+------------------------+---+
|       SOUTH / BOTTOM           |
+--------------------------------+
pack-priv class
public class
FillLayout

FillLayout is the simplest layout class.

public class
FormAttachment

Instances of this class are used to define the edges of a control within a FormLayout.

public class
FormData

Instances of this class are used to define the attachments of a control in a FormLayout.

public class
FormLayout

Instances of this class control the position and size of the children of a composite control by using FormAttachments to optionally configure the left, top, right and bottom edges of each child.

public class
GridData

GridData is the layout data object associated with GridLayout.

public class
GridLayout

Instances of this class lay out the control children of a Composite in a grid.

public class
RowData

Each control controlled by a RowLayout can have its initial width and height specified by setting a RowData object into the control.

public class
RowLayout

Instances of this class determine the size and position of the children of a Composite by placing them either in horizontal rows or vertical columns within the parent Composite.