com.extjs.gxt.ui.client.data
Interface PagingLoadResult<Data>

Type Parameters:
Data - the data type
All Superinterfaces:
ListLoadResult<Data>
All Known Implementing Classes:
BasePagingLoadResult

public interface PagingLoadResult<Data>
extends ListLoadResult<Data>

A LoadResult for paging loaders.


Method Summary
 int getOffset()
          Returns the current offset of the results.
 int getTotalLength()
          Returns the total count.
 void setOffset(int offset)
          Sets the offset.
 void setTotalLength(int totalLength)
          Sets the total length.
 
Methods inherited from interface com.extjs.gxt.ui.client.data.ListLoadResult
getData
 

Method Detail

getOffset

int getOffset()
Returns the current offset of the results.

Returns:
the offset

getTotalLength

int getTotalLength()
Returns the total count. This value will not equal the number of records being returned when paging is used.

Returns:
the total count

setOffset

void setOffset(int offset)
Sets the offset.

Parameters:
offset - the offset

setTotalLength

void setTotalLength(int totalLength)
Sets the total length.

Parameters:
totalLength - the total length