org.apache.tapestry.contrib.table.model.simple
Class SimpleSetTableDataModel
java.lang.Object
|
+--org.apache.tapestry.contrib.table.model.common.AbstractTableDataModel
|
+--org.apache.tapestry.contrib.table.model.simple.SimpleSetTableDataModel
- All Implemented Interfaces:
- ITableDataModel, Serializable
- public class SimpleSetTableDataModel
- extends AbstractTableDataModel
- implements Serializable
A minimal set implementation of the
ITableDataModel
interface
- Version:
- $Id: SimpleSetTableDataModel.java,v 1.1 2003/03/05 23:03:04 hlship Exp $
- Author:
- mindbridge
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSetTableDataModel
public SimpleSetTableDataModel(Set setRows)
getRowCount
public int getRowCount()
- Description copied from interface:
ITableDataModel
- Method getRowCount.
- See Also:
ITableDataModel.getRowCount()
getRows
public Iterator getRows()
- Description copied from interface:
ITableDataModel
- Iterates over all of the rows in the model
- See Also:
ITableDataModel.getRows()
addRow
public void addRow(Object objRow)
- Method addRow.
Adds a row object to the model at its end
- Parameters:
objRow
- the row object to add
addRows
public void addRows(Collection arrRows)
removeRow
public void removeRow(Object objRow)
- Method removeRow.
Removes a row object from the model
- Parameters:
objRow
- the row object to remove
removeRows
public void removeRows(Collection arrRows)