|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WADataPaginator
This interface is used when pagination of large result sets is needed, mostly as part of the rendering process.
| Method Summary | |
|---|---|
WADataPage |
getCurrentPage()
this method returns the current page of data, or null is there is no such page. |
int |
getCurrentPageNumber()
This method retuns the current, 0-base page number, or -1 if there is no current page |
WADataPage |
getFirstPage()
this method returns the first page of data, or null is there is no such page. |
WADataPaginatorHeader |
getHeader()
|
int |
getItemCount()
this method returns the total count of items |
WADataPage |
getLastPage()
this method returns the last page of data, or null is there is no such page. |
WADataPage |
getNextPage()
this method returns the next page of data, or null is there is no such page |
int |
getPageCount()
this method returns the count of pages in this set |
WADataPage |
getPreviousPage()
this method returns the previous page of data, or null is there is no such page |
void |
setHeader(WADataPaginatorHeader h)
This method sets the header. |
void |
setPageSize(int size)
This method sets the page size, that is, the count of items that fit on one page. |
| Method Detail |
|---|
WADataPage getNextPage()
getPreviousPage()WADataPage getPreviousPage()
getNextPage()WADataPage getFirstPage()
getNextPage(),
getPreviousPage()WADataPage getCurrentPage()
getNextPage(),
getPreviousPage()WADataPage getLastPage()
getNextPage(),
#getpreviousPageint getPageCount()
getNextPage(),
getPreviousPage()int getItemCount()
int getCurrentPageNumber()
void setPageSize(int size)
void setHeader(WADataPaginatorHeader h)
WADataPaginatorHeader getHeader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||