com.google.gwt.widgetideas.table.client
Class TableModel.Request

java.lang.Object
  extended by com.google.gwt.widgetideas.table.client.TableModel.Request
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
Enclosing class:
TableModel<R>

public static class TableModel.Request
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

A TableModel request.


Constructor Summary
TableModel.Request()
          Default constructor.
TableModel.Request(int startRow, int numRows)
          Constructor.
TableModel.Request(int startRow, int numRows, TableModel.ColumnSortList columnSortList)
          Constructor.
 
Method Summary
 TableModel.ColumnSortList getColumnSortList()
          Get the TableModel.ColumnSortInfo, which includes the sort indexes and ascending or descending order info.
 int getNumRows()
          Get the number of rows to request.
 int getStartRow()
          Get the first row to request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableModel.Request

public TableModel.Request()
Default constructor.


TableModel.Request

public TableModel.Request(int startRow,
                          int numRows)
Constructor.

Parameters:
startRow - the first row to request
numRows - the number of rows to request

TableModel.Request

public TableModel.Request(int startRow,
                          int numRows,
                          TableModel.ColumnSortList columnSortList)
Constructor.

Parameters:
startRow - the first row to request
numRows - the number of rows to request
columnSortList - column sort orders
Method Detail

getColumnSortList

public TableModel.ColumnSortList getColumnSortList()
Get the TableModel.ColumnSortInfo, which includes the sort indexes and ascending or descending order info.

Returns:
the sort info

getNumRows

public int getNumRows()
Get the number of rows to request.

Returns:
the number of requested rows

getStartRow

public int getStartRow()
Get the first row to request.

Returns:
the first requested row