ProgramixGenericLib v5.0.1

com.programix.gui.layout
Class AnchorTableLayout.AnchorTableCellData

java.lang.Object
  extended by com.programix.gui.layout.AbstractTableLayout.CellData
      extended by com.programix.gui.layout.AnchorTableLayout.AnchorTableCellData
Enclosing class:
AnchorTableLayout

protected class AnchorTableLayout.AnchorTableCellData
extends AbstractTableLayout.CellData


Field Summary
protected  AnchorPoint defaultAnchorForAllColumns
           
 
Fields inherited from class com.programix.gui.layout.AbstractTableLayout.CellData
bGap, cGap, clusterAnchorPoint, colCount, colWidth, colX, comp, compPrefSize, heightOverhead, offsetX, offsetY, paneInsets, panePrefHeight, panePrefWidth, paneSize, rGap, rowCount, rowHeight, rowY, widthOverhead
 
Constructor Summary
protected AnchorTableLayout.AnchorTableCellData(Container pane)
           
protected AnchorTableLayout.AnchorTableCellData(Container pane, AnchorPoint defaultAnchorForAllColumns)
           
 
Method Summary
protected  void calcRowAndColumnCounts()
           
protected  void calcRowHeightsAndColumnWidths()
           
protected  AnchorPoint getDefaultAnchor(int colIdx)
          Overridden in subclasses that want to specify a default anchor to use for a column when a single default anchor for all columns won't work.
protected  void layoutComponents()
           
 
Methods inherited from class com.programix.gui.layout.AbstractTableLayout.CellData
calcAnchorImpact, calcPanePrefSize, calcPartA, calcPartB, calcRowAndColPositions, getPreferredSize, hasAnyCells
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultAnchorForAllColumns

protected final AnchorPoint defaultAnchorForAllColumns
Constructor Detail

AnchorTableLayout.AnchorTableCellData

protected AnchorTableLayout.AnchorTableCellData(Container pane,
                                                AnchorPoint defaultAnchorForAllColumns)

AnchorTableLayout.AnchorTableCellData

protected AnchorTableLayout.AnchorTableCellData(Container pane)
Method Detail

calcRowAndColumnCounts

protected void calcRowAndColumnCounts()
Specified by:
calcRowAndColumnCounts in class AbstractTableLayout.CellData

calcRowHeightsAndColumnWidths

protected void calcRowHeightsAndColumnWidths()
Specified by:
calcRowHeightsAndColumnWidths in class AbstractTableLayout.CellData

layoutComponents

protected void layoutComponents()
Specified by:
layoutComponents in class AbstractTableLayout.CellData

getDefaultAnchor

protected AnchorPoint getDefaultAnchor(int colIdx)
Overridden in subclasses that want to specify a default anchor to use for a column when a single default anchor for all columns won't work. During construction, a default anchor to use for all columns may be specified (this is the value returned from this method if it is not overridden). If the overridden version of this method returns null this is the same as returning AnchorPoint.CENTER. If the same default anchor should be used for all columns, there is no need to override this method—just specify that all-column default during construction.


ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.