# Uses of Class
javax.swing.GroupLayout.Group

Packages that use GroupLayout.Group
Package
Description
javax.swing
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

## Uses of GroupLayout.Group in javax.swing

Subclasses of GroupLayout.Group in javax.swing
Modifier and Type
Class
Description
`class`
`GroupLayout.ParallelGroup`
A `Group` that aligns and sizes its children.
`final class`
`GroupLayout.SequentialGroup`
A `Group` that positions and sizes its elements sequentially, one after another.
Methods in javax.swing that return GroupLayout.Group
Modifier and Type
Method
Description
`GroupLayout.Group`
GroupLayout.Group.`addComponent(Component component)`
Adds a `Component` to this `Group`.
`GroupLayout.Group`
GroupLayout.Group.`addComponent(Component component, int min, int pref, int max)`
Adds a `Component` to this `Group` with the specified size.
`GroupLayout.Group`
GroupLayout.Group.`addGap(int size)`
Adds a rigid gap to this `Group`.
`GroupLayout.Group`
GroupLayout.Group.`addGap(int min, int pref, int max)`
Adds a gap to this `Group` with the specified size.
`GroupLayout.Group`
GroupLayout.Group.`addGroup(GroupLayout.Group group)`
Adds a `Group` to this `Group`.
Methods in javax.swing with parameters of type GroupLayout.Group
Modifier and Type
Method
Description
`GroupLayout.Group`
GroupLayout.Group.`addGroup(GroupLayout.Group group)`
Adds a `Group` to this `Group`.
`GroupLayout.ParallelGroup`
GroupLayout.ParallelGroup.`addGroup(GroupLayout.Alignment alignment, GroupLayout.Group group)`
Adds a `Group` to this `ParallelGroup` with the specified alignment.
`GroupLayout.ParallelGroup`
GroupLayout.ParallelGroup.`addGroup(GroupLayout.Group group)`
Adds a `Group` to this `Group`.
`GroupLayout.SequentialGroup`
GroupLayout.SequentialGroup.`addGroup(boolean useAsBaseline, GroupLayout.Group group)`
Adds a `Group` to this `Group`.
`GroupLayout.SequentialGroup`
GroupLayout.SequentialGroup.`addGroup(GroupLayout.Group group)`
Adds a `Group` to this `Group`.
`void`
GroupLayout.`setHorizontalGroup(GroupLayout.Group group)`
Sets the `Group` that positions and sizes components along the horizontal axis.
`void`
GroupLayout.`setVerticalGroup(GroupLayout.Group group)`
Sets the `Group` that positions and sizes components along the vertical axis.