|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.data.shared.loader.ListLoadResultBean<Data>
com.sencha.gxt.data.shared.loader.PagingLoadResultBean<Data>
Data - the type of data for this list load resultpublic class PagingLoadResultBean<Data>
A ListLoadResultBean that adds support for paging properties as
described by PagingLoadResult.
| Constructor Summary | |
|---|---|
PagingLoadResultBean()
Creates an empty paging load result bean. |
|
PagingLoadResultBean(java.util.List<Data> list,
int totalLength,
int offset)
Creates a new paging list load result. |
|
| 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 class com.sencha.gxt.data.shared.loader.ListLoadResultBean |
|---|
getData, setData |
| 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.ListLoadResult |
|---|
getData |
| Constructor Detail |
|---|
public PagingLoadResultBean()
public PagingLoadResultBean(java.util.List<Data> list,
int totalLength,
int offset)
list - the datatotalLength - the total lengthoffset - the paging offset| Method Detail |
|---|
public int getOffset()
PagingLoadResult
getOffset in interface PagingLoadResult<Data>public int getTotalLength()
PagingLoadResult
getTotalLength in interface PagingLoadResult<Data>public void setOffset(int offset)
PagingLoadResult
setOffset in interface PagingLoadResult<Data>offset - the offsetpublic void setTotalLength(int totalLength)
PagingLoadResult
setTotalLength in interface PagingLoadResult<Data>totalLength - the total length
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||