harmonic.mz.gui
Class TableSpreadsheet
java.lang.Object
|
+--HWPanel
|
+--harmonic.mz.gui.TableSpreadsheet
- public class TableSpreadsheet
- extends HWPanel
Shows table data
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableSpreadsheet
public TableSpreadsheet()
setTable
public void setTable(TableNode table)
- Sets the table to show. This resets the TableCellDrawer's. Caller
can then change individual TableCellDrawer's.
Column indicies are the same as in table, evan if a column is hidden.
All table columns are treated as if they are not hidden - but hidden
columns are given a zero width, and not rendered. This enables user
to show the columns the want to see.
setTableCellDrawer
public void setTableCellDrawer(int column,
TableCellDrawer d)
setRowHeight
public void setRowHeight(int height)
columnCount
public int columnCount()
rowCount
public int rowCount()
updateFeedback
public void updateFeedback()
getInsets
public java.awt.Insets getInsets()
format
public void format(int w,
int h)
getPreferredSize
public java.awt.Dimension getPreferredSize()
onVertScroll
public void onVertScroll(HWScrollEvent e)
onHorzScroll
public void onHorzScroll(HWScrollEvent e)