QJCC homepage

biz.chitec.quarterback.swing
Class TableCellSizeAdjustor.RowHeightStorage

java.lang.Object
  extended bybiz.chitec.quarterback.swing.TableCellSizeAdjustor.RowHeightStorage
Enclosing class:
TableCellSizeAdjustor

private class TableCellSizeAdjustor.RowHeightStorage
extends java.lang.Object

Internal class to store special row heights. This class is only needed if dynamically changing row heights are needed by some cell renderers. It stores all dynamic values and is able to give the tallest height with respect to the general row height. The internal storage is realized as map of maps. Outer map stores the row number and an attached map for each. These inner maps store the column number and the requested number.


Field Summary
private  java.util.Map storage
           
 
Constructor Summary
TableCellSizeAdjustor.RowHeightStorage()
           
 
Method Summary
 void dropCache()
           
 int getRowHeight(int row, int staticheight)
           
 void setValue(int row, int column, int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

storage

private java.util.Map storage
Constructor Detail

TableCellSizeAdjustor.RowHeightStorage

public TableCellSizeAdjustor.RowHeightStorage()
Method Detail

setValue

public void setValue(int row,
                     int column,
                     int value)

dropCache

public void dropCache()

getRowHeight

public int getRowHeight(int row,
                        int staticheight)

QJCC homepage