org.PingOO.DLAI.lib.PWidget
Class FormLayout.ColumnLeader
java.lang.Object
|
+--org.PingOO.DLAI.lib.PWidget.FormColumnLayout
|
+--org.PingOO.DLAI.lib.PWidget.FormLayout.ColumnLeader
- private class FormLayout.ColumnLeader
- extends FormColumnLayout
oversees and coordinates FormColumnLayout`s
|
Method Summary |
void |
add(java.awt.Component label,
java.awt.Component field,
int row,
int column,
double pct)
|
void |
add(java.awt.Component label,
java.awt.Component field,
int row,
int column,
int mode,
double pct)
|
void |
add(java.awt.Component component,
int row,
int column,
double pct)
|
void |
addMultiRow(java.awt.Component label,
java.awt.Component field,
int startRow,
int endRow,
int column,
double pct)
|
void |
addMultiRow(java.awt.Component label,
java.awt.Component field,
int startRow,
int endRow,
int column,
int mode,
double pct)
|
void |
addMultiRow(java.awt.Component component,
int startRow,
int endRow,
int column,
double pct)
|
private void |
addMultiRows(java.awt.Component field,
int startRow,
int endRow,
int column,
int mode)
|
private FormColumnLayout.SegmentLayout |
findSegment(int row)
|
int |
getMinimumLocation()
|
int |
getPreferredLocation()
|
FormColumnLayout.SegmentLayout |
getSegment(FormColumnLayout columnLayout,
int row)
create new if not found |
void |
layoutColumns(int room)
|
(package private) void |
recalcMinimumLocations()
Recalculate the minimum locations of each Column.
|
(package private) void |
recalcPreferredLocations()
Recalculate the preferred locations of each Column.
|
void |
removeLayoutComponent(java.awt.Component component)
|
protected void |
setMinimumLocation(int minLoc)
|
protected void |
setPreferredLocation(int prefLoc)
|
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
m_invisibleGhosts
private FormLayout.ExtendedVector m_invisibleGhosts
FormLayout.ColumnLeader
public FormLayout.ColumnLeader(FormLayout containingLayout)
- Parameters:
containingLayout -
add
public void add(java.awt.Component component,
int row,
int column,
double pct)
add
public void add(java.awt.Component label,
java.awt.Component field,
int row,
int column,
double pct)
add
public void add(java.awt.Component label,
java.awt.Component field,
int row,
int column,
int mode,
double pct)
addMultiRow
public void addMultiRow(java.awt.Component component,
int startRow,
int endRow,
int column,
double pct)
addMultiRow
public void addMultiRow(java.awt.Component label,
java.awt.Component field,
int startRow,
int endRow,
int column,
double pct)
addMultiRow
public void addMultiRow(java.awt.Component label,
java.awt.Component field,
int startRow,
int endRow,
int column,
int mode,
double pct)
addMultiRows
private void addMultiRows(java.awt.Component field,
int startRow,
int endRow,
int column,
int mode)
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component component)
getSegment
public FormColumnLayout.SegmentLayout getSegment(FormColumnLayout columnLayout,
int row)
- create new if not found
findSegment
private FormColumnLayout.SegmentLayout findSegment(int row)
layoutColumns
public void layoutColumns(int room)
getPreferredLocation
public int getPreferredLocation()
- Overrides:
- getPreferredLocation in class FormColumnLayout
getMinimumLocation
public int getMinimumLocation()
- Overrides:
- getMinimumLocation in class FormColumnLayout
setMinimumLocation
protected void setMinimumLocation(int minLoc)
- Overrides:
- setMinimumLocation in class FormColumnLayout
setPreferredLocation
protected void setPreferredLocation(int prefLoc)
- Overrides:
- setPreferredLocation in class FormColumnLayout
recalcMinimumLocations
void recalcMinimumLocations()
- Recalculate the minimum locations of each Column.
Call this every time m_minLocation and m_prefLocation are accessed, because the componentry may have changed in some relevant way since the last time this was called.
recalcPreferredLocations
void recalcPreferredLocations()
- Recalculate the preferred locations of each Column.
Call this every time m_minLocation and m_prefLocation are accessed, because the componentry may have changed in some relevant way since the last time this was called.