com.sencha.gxt.data.shared.loader
Class PagingLoadConfigBean

java.lang.Object
  extended by com.sencha.gxt.data.shared.loader.ListLoadConfigBean
      extended by com.sencha.gxt.data.shared.loader.PagingLoadConfigBean
All Implemented Interfaces:
ListLoadConfig, PagingLoadConfig, java.io.Serializable
Direct Known Subclasses:
FilterPagingLoadConfigBean

public class PagingLoadConfigBean
extends ListLoadConfigBean
implements PagingLoadConfig

Default implementation of the PagingLoadConfig interface.

See Also:
Serialized Form

Constructor Summary
PagingLoadConfigBean()
          Creates a new paging load config.
PagingLoadConfigBean(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.sencha.gxt.data.shared.loader.ListLoadConfigBean
getSortInfo, setSortInfo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sencha.gxt.data.shared.loader.ListLoadConfig
getSortInfo, setSortInfo
 

Constructor Detail

PagingLoadConfigBean

public PagingLoadConfigBean()
Creates a new paging load config.


PagingLoadConfigBean

public PagingLoadConfigBean(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


Copyright © 2012. All Rights Reserved.