Module java.desktop
Package javax.swing

Class GroupLayout.SequentialGroup

java.lang.Object
javax.swing.GroupLayout.Group
javax.swing.GroupLayout.SequentialGroup
Enclosing class:
GroupLayout

public final class GroupLayout.SequentialGroup extends GroupLayout.Group
A Group that positions and sizes its elements sequentially, one after another. This class has no public constructor, use the createSequentialGroup method to create one.

In order to align a SequentialGroup along the baseline of a baseline aligned ParallelGroup you need to specify which of the elements of the SequentialGroup is used to determine the baseline. The element used to calculate the baseline is specified using one of the add methods that take a boolean. The last element added with a value of true for useAsBaseline is used to calculate the baseline.

Since:
1.6
See Also: