org.PingOO.DLAI.lib.PWidget
Class FormLayout.RowLeader
java.lang.Object
|
+--org.PingOO.DLAI.lib.PWidget.FormRowLayout
|
+--org.PingOO.DLAI.lib.PWidget.FormLayout.RowLeader
- private class FormLayout.RowLeader
- extends FormRowLayout
Oversees and coordinates FormRowLayouts.
| Fields inherited from class org.PingOO.DLAI.lib.PWidget.FormRowLayout |
ALIGN_BOTTOM,
ALIGN_CENTER,
ALIGN_TOP,
m_components,
m_containingLayout,
m_currLocation,
m_currSize,
m_followingRow,
m_index,
m_justification,
m_minLocation,
m_minSize,
m_prefLocation,
m_prefSize,
m_previousRow |
| Methods inherited from class org.PingOO.DLAI.lib.PWidget.FormRowLayout |
add,
addFloater,
doLayout,
findMinimumLocation,
findPreferredLocation,
getIndex,
getMinLowerBoundary,
getPrefLowerBoundary,
getRow,
removeLayoutComponent,
setAnchor,
setLocation |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
FormLayout.RowLeader
public FormLayout.RowLeader(FormLayout containingLayout)
add
public void add(java.awt.Component label,
java.awt.Component field,
int row)
- Parameters:
label - field - row -
add
public void add(java.awt.Component component,
int row)
- Parameters:
component -
addMultiRow
public void addMultiRow(java.awt.Component component,
int startRow,
int endRow)
- Parameters:
component - startRow - endRow -
addMultiRow
public void addMultiRow(java.awt.Component label,
java.awt.Component field,
int startRow,
int endRow)
removeIfEmpty
protected void removeIfEmpty()
- never remove the RowLeader!
- Overrides:
- removeIfEmpty in class FormRowLayout
layoutRows
public void layoutRows(int room)
getPreferredLocation
public int getPreferredLocation()
getMinimumLocation
public int getMinimumLocation()
setMinimumLocation
protected void setMinimumLocation(int minLoc)
- Overrides:
- setMinimumLocation in class FormRowLayout
setPreferredLocation
protected void setPreferredLocation(int prefLoc)
- Overrides:
- setPreferredLocation in class FormRowLayout
getUpperBoundary
protected int getUpperBoundary()
- Overrides:
- getUpperBoundary in class FormRowLayout
getGap
protected int getGap()