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

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

public class BasicTableModelWrap
extends AbstractTableModel

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.
 java.util.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 java.util.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()