|
|||||||||
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.AbstractTableModel org.apache.tapestry.contrib.table.model.simple.SimpleTableModel
public class SimpleTableModel
A simple generic table model implementation.
Constructor Summary | |
---|---|
SimpleTableModel(ITableDataModel objDataModel,
ITableColumnModel objColumnModel)
|
|
SimpleTableModel(ITableDataModel objDataModel,
ITableColumnModel objColumnModel,
SimpleTableState objState)
|
|
SimpleTableModel(Object[] arrData,
ITableColumn[] arrColumns)
|
|
SimpleTableModel(Object[] arrData,
ITableColumnModel objColumnModel)
|
Method Summary | |
---|---|
ITableColumnModel |
getColumnModel()
Method getColumnModel. |
Iterator |
getCurrentPageRows()
Method getCurrentPageRows. |
ITableDataModel |
getDataModel()
Returns the dataModel. |
int |
getRowCount()
|
void |
setDataModel(ITableDataModel dataModel)
Sets the dataModel. |
protected void |
sortRows()
|
void |
tableDataChanged(CTableDataModelEvent objEvent)
|
Methods inherited from class org.apache.tapestry.contrib.table.model.common.AbstractTableModel |
---|
getPageCount, getPagingState, getSortingState, getState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTableModel(Object[] arrData, ITableColumn[] arrColumns)
public SimpleTableModel(Object[] arrData, ITableColumnModel objColumnModel)
public SimpleTableModel(ITableDataModel objDataModel, ITableColumnModel objColumnModel)
public SimpleTableModel(ITableDataModel objDataModel, ITableColumnModel objColumnModel, SimpleTableState objState)
Method Detail |
---|
public ITableColumnModel getColumnModel()
ITableModel
getColumnModel
in interface ITableModel
public Iterator getCurrentPageRows()
ITableModel
getCurrentPageRows
in interface ITableModel
public int getRowCount()
getRowCount
in class AbstractTableModel
protected void sortRows()
public void tableDataChanged(CTableDataModelEvent objEvent)
tableDataChanged
in interface ITableDataModelListener
public ITableDataModel getDataModel()
public void setDataModel(ITableDataModel dataModel)
dataModel
- The dataModel to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |