biz.chitec.quarterback.swing
Class TableCellSizeAdjustor.RowHeightStorage
java.lang.Object
biz.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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
storage
private java.util.Map storage
TableCellSizeAdjustor.RowHeightStorage
public TableCellSizeAdjustor.RowHeightStorage()
setValue
public void setValue(int row,
int column,
int value)
dropCache
public void dropCache()
getRowHeight
public int getRowHeight(int row,
int staticheight)