A layout manager that spaces components over six columns in seven different
formats.
C
public static final int C
A useful constant representing layout format 1.
LC
public static final int LC
A useful constant representing layout format 2.
LCB
public static final int LCB
A useful constant representing layout format 3.
LCBLC
public static final int LCBLC
A useful constant representing layout format 6.
LCBLCB
public static final int LCBLCB
A useful constant representing layout format 7.
LCLC
public static final int LCLC
A useful constant representing layout format 4.
LCLCB
public static final int LCLCB
A useful constant representing layout format 5.
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
Not used.
name
- the component name.comp
- the component.
complete
public void complete()
Finishes of the processing.
layoutContainer
public void layoutContainer(Container parent)
Performs the layout of the container.
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
Returns the minimum size of the component using this layout manager.
- the minimum size of the component
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
Returns the preferred size of the component using this layout manager.
- the preferred size of the component.
removeLayoutComponent
public void removeLayoutComponent(String name,
Component comp)
Not used.
name
- the component name.comp
- the component.
updateC
protected void updateC(int rowIndex,
Dimension d0)
Processes a row in 'C' format.
rowIndex
- the row index.d0
- dimension 0.
updateLC
protected void updateLC(int rowIndex,
Dimension d0,
Dimension d1)
Processes a row in 'LC' format.
rowIndex
- the row index.d0
- dimension 0.d1
- dimension 1.
updateLCB
protected void updateLCB(int rowIndex,
Dimension d0,
Dimension d1,
Dimension d2)
Processes a row in 'LCB' format.
rowIndex
- the row index.d0
- dimension 0.d1
- dimension 1.d2
- dimension 2.
updateLCBLC
protected void updateLCBLC(int rowIndex,
Dimension d0,
Dimension d1,
Dimension d2,
Dimension d3,
Dimension d4)
Processes a row in 'LCBLC' format.
rowIndex
- the row index.d0
- dimension 0.d1
- dimension 1.d2
- dimension 2.d3
- dimension 3.d4
- dimension 4.
updateLCBLCB
protected void updateLCBLCB(int rowIndex,
Dimension d0,
Dimension d1,
Dimension d2,
Dimension d3,
Dimension d4,
Dimension d5)
Processes a row in 'LCBLCB' format.
rowIndex
- the row index.d0
- dimension 0.d1
- dimension 1.d2
- dimension 2.d3
- dimension 3.d4
- dimension 4.d5
- dimension 5.
updateLCLC
protected void updateLCLC(int rowIndex,
Dimension d0,
Dimension d1,
Dimension d2,
Dimension d3)
Processes a row in 'LCLC' format.
rowIndex
- the row index.d0
- dimension 0.d1
- dimension 1.d2
- dimension 2.d3
- dimension 3.
updateLCLCB
protected void updateLCLCB(int rowIndex,
Dimension d0,
Dimension d1,
Dimension d2,
Dimension d3,
Dimension d4)
Processes a row in 'LCLCB' format.
rowIndex
- the row index.d0
- dimension 0.d1
- dimension 1.d2
- dimension 2.d3
- dimension 3.d4
- dimension 4.