org.apache.tapestry.contrib.table.model.common
Class BasicTableModelWrap

java.lang.Object
  extended by org.apache.tapestry.contrib.table.model.common.AbstractTableModel
      extended by org.apache.tapestry.contrib.table.model.common.BasicTableModelWrap
All Implemented Interfaces:
Serializable, ITableModel

public class BasicTableModelWrap
extends AbstractTableModel

Version:
$Id: BasicTableModelWrap.java 243808 2004-02-28 10:26:15Z mindbridge $
Author:
mindbridge
See Also:
Serialized Form

Constructor Summary
BasicTableModelWrap(IBasicTableModel objBasicTableModel, ITableColumnModel objColumnModel)
           
BasicTableModelWrap(IBasicTableModel objBasicTableModel, ITableColumnModel objColumnModel, SimpleTableState objState)
           
 
Method Summary
 ITableColumnModel getColumnModel()
          Method getColumnModel.
 Iterator getCurrentPageRows()
          Method getCurrentPageRows.
protected  int getRowCount()
           
 
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

BasicTableModelWrap

public BasicTableModelWrap(IBasicTableModel objBasicTableModel,
                           ITableColumnModel objColumnModel)

BasicTableModelWrap

public BasicTableModelWrap(IBasicTableModel objBasicTableModel,
                           ITableColumnModel objColumnModel,
                           SimpleTableState objState)
Method Detail

getColumnModel

public ITableColumnModel getColumnModel()
Description copied from interface: ITableModel
Method getColumnModel.

Returns:
ITableColumnModel the column model of the table
See Also:
ITableModel.getColumnModel()

getRowCount

protected int getRowCount()
Specified by:
getRowCount in class AbstractTableModel
See Also:
AbstractTableModel.getRowCount()

getCurrentPageRows

public Iterator getCurrentPageRows()
Description copied from interface: ITableModel
Method getCurrentPageRows.

Returns:
Iterator the rows in the current table page given the current data, sorting, and paging state
See Also:
ITableModel.getCurrentPageRows()