com.extjs.gxt.ui.client.data
Class BasePagingLoadConfig

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.BaseModelData
      extended by com.extjs.gxt.ui.client.data.BaseListLoadConfig
          extended by com.extjs.gxt.ui.client.data.BasePagingLoadConfig
All Implemented Interfaces:
ListLoadConfig, LoadConfig, ModelData, PagingLoadConfig, java.io.Serializable
Direct Known Subclasses:
BaseFilterPagingLoadConfig

public class BasePagingLoadConfig
extends BaseListLoadConfig
implements PagingLoadConfig, java.io.Serializable

Default implementation of the PagingLoadConfig.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData
allowNestedValues, map
 
Constructor Summary
BasePagingLoadConfig()
          Creates a new paging load config.
BasePagingLoadConfig(int offset, int limit)
          Creates a new paging load config.
 
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 class com.extjs.gxt.ui.client.data.BaseListLoadConfig
getSortDir, getSortField, getSortInfo, setSortDir, setSortField, setSortInfo
 
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData
get, get, getProperties, getPropertyNames, isAllowNestedValues, remove, set, setAllowNestedValues, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

BasePagingLoadConfig

public BasePagingLoadConfig()
Creates a new paging load config.


BasePagingLoadConfig

public BasePagingLoadConfig(int offset,
                            int limit)
Creates a new paging load config.

Parameters:
offset - the offset
limit - the limit
Method Detail

getLimit

public int getLimit()
Description copied from interface: PagingLoadConfig
The number of records being requested.

Specified by:
getLimit in interface PagingLoadConfig

getOffset

public int getOffset()
Description copied from interface: PagingLoadConfig
The offset for the first record to retrieve.

Specified by:
getOffset in interface PagingLoadConfig

setLimit

public void setLimit(int limit)
Description copied from interface: PagingLoadConfig
Sets the limit.

Specified by:
setLimit in interface PagingLoadConfig
Parameters:
limit - the limit

setOffset

public void setOffset(int offset)
Description copied from interface: PagingLoadConfig
Sets the offset.

Specified by:
setOffset in interface PagingLoadConfig
Parameters:
offset - the offset