Modifier and Type | Class | Description |
---|---|---|
class |
GroupLayout.ParallelGroup |
A
Group that lays out its elements on top of each
other. |
class |
GroupLayout.SequentialGroup |
A
Group that lays out its elements sequentially, one
after another. |
Modifier and Type | Method | Description |
---|---|---|
GroupLayout.Group |
GroupLayout.getHorizontalGroup() |
Returns the
Group that is responsible for
layout along the horizontal axis. |
GroupLayout.Group |
GroupLayout.getVerticalGroup() |
Returns the
ParallelGroup that is responsible for
layout along the vertical axis. |
Modifier and Type | Method | Description |
---|---|---|
GroupLayout.ParallelGroup |
GroupLayout.ParallelGroup.add(int alignment,
GroupLayout.Group group) |
Adds the specified
Group as a child of this group. |
GroupLayout.ParallelGroup |
GroupLayout.ParallelGroup.add(GroupLayout.Group group) |
Adds the specified
Group . |
GroupLayout.SequentialGroup |
GroupLayout.SequentialGroup.add(boolean useAsBaseline,
GroupLayout.Group group) |
Adds a
Group to this Group . |
GroupLayout.SequentialGroup |
GroupLayout.SequentialGroup.add(GroupLayout.Group group) |
Adds the specified
Group to this
SequentialGroup |
void |
GroupLayout.setHorizontalGroup(GroupLayout.Group group) |
Sets the
Group that is responsible for
layout along the horizontal axis. |
void |
GroupLayout.setVerticalGroup(GroupLayout.Group group) |
Sets the
Group that is responsible for
layout along the vertical axis. |