org.apache.tapestry.contrib.table.model
Interface IBasicTableModel


public interface IBasicTableModel

A simplified version of the table model that concerns itself only with providing the data on the current page.

Since:
3.0
Author:
mindbridge

Method Summary
 Iterator getCurrentPageRows(int nFirst, int nPageSize, ITableColumn objSortColumn, boolean bSortOrder)
          Returns the rows on the current page.
 int getRowCount()
          Returns the number of all records.
 

Method Detail

getRowCount

int getRowCount()
Returns the number of all records.

Returns:
the number of all rows

getCurrentPageRows

Iterator getCurrentPageRows(int nFirst,
                            int nPageSize,
                            ITableColumn objSortColumn,
                            boolean bSortOrder)
Returns the rows on the current page.

Parameters:
nFirst - the index of the first item to be dispayed
nPageSize - the number of items to be displayed
objSortColumn - the column to sort by or null if there is no sorting
bSortOrder - determines the sorting order (ascending or descending)


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.