|
Préférences
Moteurs de recherche
|
||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.swing
|
Method Summary | |
---|---|
GroupLayout.ParallelGroup |
addComponent(Component component)
Adds a Component to this Group . |
GroupLayout.ParallelGroup |
addComponent(Component component,
GroupLayout.Alignment alignment)
Adds a Component to this ParallelGroup with
the specified alignment. |
GroupLayout.ParallelGroup |
addComponent(Component component,
GroupLayout.Alignment alignment,
int min,
int pref,
int max)
Adds a Component to this ParallelGroup with the
specified alignment and size. |
GroupLayout.ParallelGroup |
addComponent(Component component,
int min,
int pref,
int max)
Adds a Component to this Group
with the specified size. |
GroupLayout.ParallelGroup |
addGap(int pref)
Adds a rigid gap to this Group . |
GroupLayout.ParallelGroup |
addGap(int min,
int pref,
int max)
Adds a gap to this Group with the specified size. |
GroupLayout.ParallelGroup |
addGroup(GroupLayout.Alignment alignment,
GroupLayout.Group group)
Adds a Group to this ParallelGroup with the
specified alignment. |
GroupLayout.ParallelGroup |
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.ParallelGroup addGroup(GroupLayout.Group group)
Group
to this Group
.
addGroup
in class GroupLayout.Group
group
- the Group
to add
Group
public GroupLayout.ParallelGroup addComponent(Component component)
Component
to this Group
.
addComponent
in class GroupLayout.Group
component
- the Component
to add
Group
public GroupLayout.ParallelGroup addComponent(Component component, int min, int pref, int max)
Component
to this Group
with the specified size.
addComponent
in class GroupLayout.Group
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.ParallelGroup addGap(int pref)
Group
.
addGap
in class GroupLayout.Group
pref
- the size of the gap
Group
public GroupLayout.ParallelGroup addGap(int min, int pref, int max)
Group
with the specified size.
addGap
in class GroupLayout.Group
min
- the minimum size of the gappref
- the preferred size of the gapmax
- the maximum size of the gap
Group
public GroupLayout.ParallelGroup addGroup(GroupLayout.Alignment alignment, GroupLayout.Group group)
Group
to this ParallelGroup
with the
specified alignment. If the child is smaller than the
Group
it is aligned based on the specified
alignment.
alignment
- the alignmentgroup
- the Group
to add
ParallelGroup
IllegalArgumentException
- if alignment
is
null
public GroupLayout.ParallelGroup addComponent(Component component, GroupLayout.Alignment alignment)
Component
to this ParallelGroup
with
the specified alignment.
alignment
- the alignmentcomponent
- the Component
to add
Group
IllegalArgumentException
- if alignment
is
null
public GroupLayout.ParallelGroup addComponent(Component component, GroupLayout.Alignment alignment, int min, int pref, int max)
Component
to this ParallelGroup
with the
specified alignment and size.
alignment
- the alignmentcomponent
- the Component
to addmin
- the minimum sizepref
- the preferred sizemax
- the maximum size
Group
IllegalArgumentException
- if alignment
is
null