|
FlexDoc/Javadoc 2.0 Demo Java Doc |
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.
Method Summary |
||
addComponent(boolean useAsBaseline, Component component)
Adds a Component to this Group.
|
||
addComponent(boolean useAsBaseline, Component component, int min, int pref, int max)
Adds a Component to this Group
with the specified size.
|
||
addComponent(Component component)
Adds a Component to this Group.
|
||
addComponent(Component component, int min, int pref, int max)
Adds a Component to this Group
with the specified size.
|
||
Adds an element representing the preferred gap between an edge
the container and components that touch the border of the
container.
|
||
addContainerGap(int pref, int max)
Adds an element representing the preferred gap between one
edge of the container and the next or previous
Component with the specified size.
|
||
addGap(int size)
Adds a rigid gap to this Group.
|
||
addGap(int min, int pref, int max)
Adds a gap to this Group with the specified size.
|
||
addGroup(boolean useAsBaseline, GroupLayout.Group group)
Adds a Group to this Group.
|
||
addGroup(GroupLayout.Group group)
Adds a Group to this Group.
|
||
Adds an element representing the preferred gap between two
components.
|
||
addPreferredGap(JComponent comp1, JComponent comp2, LayoutStyle.ComponentPlacement type, int pref, int max)
Adds an element representing the preferred gap between two
components.
|
||
Adds an element representing the preferred gap between the
nearest components.
|
||
addPreferredGap(LayoutStyle.ComponentPlacement type, int pref, int max)
Adds an element representing the preferred gap between the
nearest components.
|
Methods inherited from class java.lang.Object |
public GroupLayout.SequentialGroup addGroup |
(GroupLayout.Group group) |
public GroupLayout.SequentialGroup addGroup |
(boolean useAsBaseline, GroupLayout.Group group) |
public GroupLayout.SequentialGroup addComponent |
(Component component) |
public GroupLayout.SequentialGroup addComponent |
(boolean useAsBaseline, Component component) |
public GroupLayout.SequentialGroup addComponent |
public GroupLayout.SequentialGroup addComponent |
public GroupLayout.SequentialGroup addGap |
(int size) |
public GroupLayout.SequentialGroup addGap |
(int min, int pref, int max) |
public GroupLayout.SequentialGroup addPreferredGap |
public GroupLayout.SequentialGroup addPreferredGap |
public GroupLayout.SequentialGroup addPreferredGap |
The element created to represent the gap is not resizable.
public GroupLayout.SequentialGroup addPreferredGap |
public GroupLayout.SequentialGroup addContainerGap |
() |
The element created to represent the gap is not resizable.
public GroupLayout.SequentialGroup addContainerGap |
(int pref, int max) |
|
FlexDoc/Javadoc 2.0 Demo Java Doc |