Interface ITableModel
- All Superinterfaces:
TableModel
Adds to the swing
TableModel the posibility
of add, remove and modify rows.
In the model there are no null rows, but cells with null
are allowed.
When add, insert or modify rows you can send null, but the
implementation will store a empty array or equivalent.
- Author:
- Javier Paniza
-
Method Summary
Methods inherited from interface TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
-
Method Details
-
addRow
Add a row at end.- Parameters:
rowData- Data to add, ifnulladd a row which datas arenull, but row itself is notnull.
-
getRow
-
insertRow
Insert the row in the indicated place.*
- Parameters:
rowData- Data to insert, ifnulladd a row which datas arenull, but row itself is notnull.
-
removeAllRows
void removeAllRows() -
removeRow
void removeRow(int row) -
setRow
Set new values in the row.- Parameters:
rowData- Data to set, ifnulladd a row which datas arenull, but row itself is notnull.
-