com.extjs.gxt.ui.client.data
Interface PagingLoadConfig

All Superinterfaces:
ListLoadConfig, LoadConfig, ModelData
All Known Subinterfaces:
FilterPagingLoadConfig
All Known Implementing Classes:
BaseFilterPagingLoadConfig, BasePagingLoadConfig

public interface PagingLoadConfig
extends ListLoadConfig

A ListLoadConfig with support for limit and offset values.


Method Summary
 int getLimit()
          The number of records being requested.
 int getOffset()
          The offset for the first record to retrieve.
 void setLimit(int limit)
          Sets the limit.
 void setOffset(int offset)
          Sets the offset.
 
Methods inherited from interface com.extjs.gxt.ui.client.data.ListLoadConfig
getSortDir, getSortField, getSortInfo, setSortDir, setSortField, setSortInfo
 
Methods inherited from interface com.extjs.gxt.ui.client.data.ModelData
get, getProperties, getPropertyNames, remove, set
 

Method Detail

setLimit

void setLimit(int limit)
Sets the limit.

Parameters:
limit - the limit

setOffset

void setOffset(int offset)
Sets the offset.

Parameters:
offset - the offset

getLimit

int getLimit()
The number of records being requested.


getOffset

int getOffset()
The offset for the first record to retrieve.