|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
D
- the PagingLoadResult
type being returned by the
loaderpublic interface PagingLoader<D extends PagingLoadResult<?>>
A loader for a pageable set of data.
Field Summary |
---|
Fields inherited from interface com.extjs.gxt.ui.client.data.Loader |
---|
BeforeLoad, Load, LoadException |
Method Summary | |
---|---|
int |
getLimit()
Returns the current limit. |
int |
getOffset()
Returns the offset of the first record. |
int |
getTotalCount()
Returns the total number of models in the dataset as returned by the server. |
void |
load(int offset,
int pageSize)
Loads the data using the specified configuration. |
void |
setLimit(int limit)
Sets the limit size. |
void |
setOffset(int offset)
Sets the offset. |
Methods inherited from interface com.extjs.gxt.ui.client.data.ListLoader |
---|
getSortDir, getSortField, isRemoteSort, setRemoteSort, setSortDir, setSortField |
Methods inherited from interface com.extjs.gxt.ui.client.data.Loader |
---|
addLoadListener, load, load, removeLoadListener |
Methods inherited from interface com.extjs.gxt.ui.client.event.Observable |
---|
addListener, fireEvent, getListeners, hasListeners, hasListeners, removeAllListeners, removeListener |
Method Detail |
---|
int getLimit()
int getOffset()
int getTotalCount()
void load(int offset, int pageSize)
offset
- the offset of the first record to returnpageSize
- the page sizevoid setLimit(int limit)
limit
- the limitvoid setOffset(int offset)
offset
- the offset
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |