|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Pageable
Any data set which can be paged (as page 1, page 2, page3 ...) should implement this interface.
This interface is used in conjunction with
DataPaginator.doPaging(int, List, Pageable)
DataPaginator.doPaging(int, List, Pageable)| Method Summary | ||
|---|---|---|
int |
getNumberOfPages()
Get the total number of pages |
|
|
set(List<T> t)
Set the paged items |
|
void |
setNumberOfPages(int numberOfPages)
Set the total number of pages |
|
| Method Detail |
|---|
int getNumberOfPages()
void setNumberOfPages(int numberOfPages)
numberOfPages - The total number of pages<T> void set(List<T> t)
T - The type of objects in the collectiont - The collection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||