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.


Inner classes inherited from class org.PingOO.DLAI.lib.PWidget.FormRowLayout
FormRowLayout.ComponentLayout
 
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
 
Constructor Summary
FormLayout.RowLeader(FormLayout containingLayout)
           
 
Method Summary
 void add(java.awt.Component label, java.awt.Component field, int row)
           
 void add(java.awt.Component component, int row)
           
 void addMultiRow(java.awt.Component label, java.awt.Component field, int startRow, int endRow)
           
 void addMultiRow(java.awt.Component component, int startRow, int endRow)
           
protected  int getGap()
           
 int getMinimumLocation()
           
 int getPreferredLocation()
           
protected  int getUpperBoundary()
           
 void layoutRows(int room)
           
protected  void removeIfEmpty()
          never remove the RowLeader!
protected  void setMinimumLocation(int minLoc)
           
protected  void setPreferredLocation(int prefLoc)
           
 
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
 

Constructor Detail

FormLayout.RowLeader

public FormLayout.RowLeader(FormLayout containingLayout)
Method Detail

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()