# Package org.eclipse.swt.layout

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.

Related Packages
Package
Description
org.eclipse.swt
SWT constants and error handling support.
Classes
Class
Description
BorderData
Controls the several aspects of a `BorderLayout`.
BorderLayout
`BorderLayout` places controls in five regions
FillLayout
`FillLayout` is the simplest layout class.
FormAttachment
Instances of this class are used to define the edges of a control within a `FormLayout`.
FormData
Instances of this class are used to define the attachments of a control in a `FormLayout`.
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.
GridData
`GridData` is the layout data object associated with `GridLayout`.
GridLayout
Instances of this class lay out the control children of a `Composite` in a grid.
RowData
Each control controlled by a `RowLayout` can have its initial width and height specified by setting a `RowData` object into the control.
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`.