|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface that defines methods for adding and deleting rows from a tablemodel.
(c) copyright 2003-2004 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Method Summary | |
void |
createRow()
Creates a new row at the end of the TableModel. |
void |
createRows(int amount)
Creates a number of new rows at the end of the TableModel |
void |
deleteRow(int index)
Deletes a specific row from the TableModel. |
void |
deleteRows(int[] indices)
Deletes a specific set of rows from the TableModel. |
| Methods inherited from interface javax.swing.table.TableModel |
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
| Method Detail |
public void deleteRow(int index)
index - The (TableModel) index of the row to be deletedpublic void deleteRows(int[] indices)
indices - The (TableModel) indices of the rows to be deletedpublic void createRow()
public void createRows(int amount)
amount - The number of rows to be created.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||