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.
|
Modifier and Type | Class and Description |
---|---|
class |
GroupLayout.ParallelGroup
A
Group that aligns and sizes it's children. |
class |
GroupLayout.SequentialGroup
A
Group that positions and sizes its elements
sequentially, one after another. |
Modifier and Type | Method and 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 . |
Modifier and Type | Method and Description |
---|---|
GroupLayout.SequentialGroup |
GroupLayout.SequentialGroup.addGroup(boolean useAsBaseline,
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.Group |
GroupLayout.Group.addGroup(GroupLayout.Group group)
Adds a
Group to this Group . |
GroupLayout.SequentialGroup |
GroupLayout.SequentialGroup.addGroup(GroupLayout.Group group)
Adds a
Group to this Group . |
GroupLayout.ParallelGroup |
GroupLayout.ParallelGroup.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. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.