|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicTableModel
An interface that defines methods for adding and deleting rows from a tablemodel.
(c) copyright 2002-2005-2004 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , 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. |
boolean |
isRowEditable()
|
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
Method Detail |
---|
void deleteRow(int index)
index
- The (TableModel) index of the row to be deletedvoid deleteRows(int[] indices)
indices
- The (TableModel) indices of the rows to be deletedvoid createRow()
void createRows(int amount)
amount
- The number of rows to be created.boolean isRowEditable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |