|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.joseluismartin.gui.DefaultPaginator
public class DefaultPaginator
Default implementation of Paginator.
PaginatorView| Constructor Summary | |
|---|---|
DefaultPaginator()
|
|
| Method Summary | |
|---|---|
void |
addPaginatorListener(PaginatorListener listener)
|
void |
firstPage()
|
int |
getCount()
|
int |
getPage()
|
int |
getPageSize()
|
int |
getStartIndex()
|
int |
getTotalPages()
|
int |
getTotalRecords()
|
boolean |
hasNext()
|
boolean |
hasPage(int indexPage)
|
boolean |
hasPrevious()
|
void |
lastPage()
|
void |
nextPage()
|
void |
previousPage()
|
void |
removePaginatorListener(PaginatorListener listener)
|
void |
setCount(int totalRecords)
|
void |
setPage(int indexPage)
|
void |
setPageSize(int pageSize)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPaginator()
| Method Detail |
|---|
public int getCount()
getCount in interface Paginatorpublic boolean hasNext()
hasNext in interface Paginatorpublic boolean hasPage(int indexPage)
hasPage in interface Paginatorpublic boolean hasPrevious()
hasPrevious in interface Paginatorpublic void setPage(int indexPage)
setPage in interface Paginatorpublic int getStartIndex()
getStartIndex in interface Paginatorpublic int getTotalPages()
getTotalPages in interface Paginatorpublic void addPaginatorListener(PaginatorListener listener)
addPaginatorListener in interface Paginatorpublic void removePaginatorListener(PaginatorListener listener)
removePaginatorListener in interface Paginatorpublic int getTotalRecords()
public void setCount(int totalRecords)
setCount in interface PaginatortotalRecords - the totalRecords to setpublic int getPageSize()
getPageSize in interface Paginatorpublic void setPageSize(int pageSize)
setPageSize in interface PaginatorpageSize - the pageSize to setpublic int getPage()
getPage in interface Paginatorpublic void firstPage()
firstPage in interface Paginatorpublic void lastPage()
lastPage in interface Paginatorpublic void nextPage()
nextPage in interface Paginatorpublic void previousPage()
previousPage in interface Paginator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||