|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.contrib.table.model.common.AbstractTableDataModel org.apache.tapestry.contrib.table.model.simple.SimpleSetTableDataModel
public class SimpleSetTableDataModel
A minimal set implementation of the
ITableDataModel
interface
Constructor Summary | |
---|---|
SimpleSetTableDataModel(Set setRows)
|
Method Summary | |
---|---|
void |
addRow(Object objRow)
Method addRow. |
void |
addRows(Collection arrRows)
|
int |
getRowCount()
Method getRowCount. |
Iterator |
getRows()
Iterates over all of the rows in the model |
void |
removeRow(Object objRow)
Method removeRow. |
void |
removeRows(Collection arrRows)
|
Methods inherited from class org.apache.tapestry.contrib.table.model.common.AbstractTableDataModel |
---|
addTableDataModelListener, fireTableDataModelEvent, removeTableDataModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSetTableDataModel(Set setRows)
Method Detail |
---|
public int getRowCount()
ITableDataModel
getRowCount
in interface ITableDataModel
ITableDataModel.getRowCount()
public Iterator getRows()
ITableDataModel
getRows
in interface ITableDataModel
ITableDataModel.getRows()
public void addRow(Object objRow)
objRow
- the row object to addpublic void addRows(Collection arrRows)
public void removeRow(Object objRow)
objRow
- the row object to removepublic void removeRows(Collection arrRows)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |