Package ca.spatial.table
Interface EditableTableModel
- All Superinterfaces:
TableModel
- All Known Implementing Classes:
CategoryTable
,ChoroplethTheme
,ComparisonWriter
,DefaultTheme
,DitherTheme
,ExcelStore
,GradientTheme
,ImageTheme
,ModulusTheme
,MultiPeriodRamAttributeStore
,NumericTheme
,RamAttributeStore
,RangeStore
,ReportWriter
,SummaryTable
,SummaryTable.Snapshot
,Theme
,UniqueValueTheme
This interface extends the TableModel interface to
add two extra methods for editing table data.
These methods allow addition and removal of rows
from the table.
-
Method Summary
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
-
Method Details
-
addRow
Add a row to the table. The number of items in the rowData array must match the number of columns in the table. -
addRow
Add a row to the table using default values. Optionally provide a reference to the parent window in case a dialog needs to be shown. -
removeRow
void removeRow(int row)Remove the row specified by the row number. -
moveRow
void moveRow(int fromRow, int toRow)Move the specified row to a new location
-