|
Préférences
Moteurs de recherche
|
||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.swing
|
Method Summary | |
---|---|
GroupLayout.Group |
addComponent(Component component)
Adds a Component to this Group . |
GroupLayout.Group |
addComponent(Component component,
int min,
int pref,
int max)
Adds a Component to this Group
with the specified size. |
GroupLayout.Group |
addGap(int size)
Adds a rigid gap to this Group . |
GroupLayout.Group |
addGap(int min,
int pref,
int max)
Adds a gap to this Group with the specified size. |
GroupLayout.Group |
addGroup(GroupLayout.Group group)
Adds a Group to this Group . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public GroupLayout.Group addGroup(GroupLayout.Group group)
Group
to this Group
.
group
- the Group
to add
Group
public GroupLayout.Group addComponent(Component component)
Component
to this Group
.
component
- the Component
to add
Group
public GroupLayout.Group addComponent(Component component, int min, int pref, int max)
Component
to this Group
with the specified size.
component
- the Component
to addmin
- the minimum size or one of DEFAULT_SIZE
or
PREFERRED_SIZE
pref
- the preferred size or one of DEFAULT_SIZE
or
PREFERRED_SIZE
max
- the maximum size or one of DEFAULT_SIZE
or
PREFERRED_SIZE
Group
public GroupLayout.Group addGap(int size)
Group
.
size
- the size of the gap
Group
IllegalArgumentException
- if size
is less than
0
public GroupLayout.Group addGap(int min, int pref, int max)
Group
with the specified size.
min
- the minimum size of the gappref
- the preferred size of the gapmax
- the maximum size of the gap
Group
IllegalArgumentException
- if any of the values are
less than 0