public class SimpleSetTableDataModel extends AbstractTableDataModel implements java.io.Serializable
ITableDataModel interface| Constructor and Description |
|---|
SimpleSetTableDataModel(java.util.Set setRows) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(java.lang.Object objRow)
Method addRow.
|
void |
addRows(java.util.Collection arrRows) |
int |
getRowCount()
Method getRowCount.
|
java.util.Iterator |
getRows()
Iterates over all of the rows in the model
|
void |
removeRow(java.lang.Object objRow)
Method removeRow.
|
void |
removeRows(java.util.Collection arrRows) |
addTableDataModelListener, fireTableDataModelEvent, removeTableDataModelListenerpublic SimpleSetTableDataModel(java.util.Set setRows)
public int getRowCount()
ITableDataModelgetRowCount in interface ITableDataModelITableDataModel.getRowCount()public java.util.Iterator getRows()
ITableDataModelgetRows in interface ITableDataModelITableDataModel.getRows()public void addRow(java.lang.Object objRow)
objRow - the row object to addpublic void addRows(java.util.Collection arrRows)
public void removeRow(java.lang.Object objRow)
objRow - the row object to removepublic void removeRows(java.util.Collection arrRows)