public class SimpleSetTableDataModel extends AbstractTableDataModel implements java.io.Serializable
ITableDataModel
interfaceConstructor 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, removeTableDataModelListener
public SimpleSetTableDataModel(java.util.Set setRows)
public int getRowCount()
ITableDataModel
getRowCount
in interface ITableDataModel
ITableDataModel.getRowCount()
public java.util.Iterator getRows()
ITableDataModel
getRows
in interface ITableDataModel
ITableDataModel.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)