public interface PageControl
Modifier and Type | Field and Description |
---|---|
static int |
DYNAMIC_ROW_COUNT
constant for the rowsPerPage property to display as much rows as can be
visible
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener l)
Adds a changelistener which listens for data or position changes
|
void |
firstPage()
Scrolls to the first page
|
int |
getCurrentPageIndex() |
int |
getMaxPageIndex() |
int |
getRowsPerPage() |
VirtualTable |
getVirtualTable() |
void |
gotoPage(int page)
Scrolls to the given pageNumber
|
boolean |
hasNextPage() |
boolean |
hasPreviousPage() |
boolean |
isSingleRowPager() |
void |
lastPage()
Scrolls to the last page
|
void |
nextPage()
Scrolls to the next page
|
void |
previousPage()
Scrolls to the previous page
|
void |
refresh()
refreshes the current view
|
void |
setRowsPerPage(int rows) |
static final int DYNAMIC_ROW_COUNT
boolean isSingleRowPager()
void setRowsPerPage(int rows)
rows
- int getRowsPerPage()
DYNAMIC_ROW_COUNT
boolean hasNextPage()
true
if the pager can go forwardboolean hasPreviousPage()
true
if the pager can go backwardvoid nextPage()
void previousPage()
void firstPage()
void lastPage()
void gotoPage(int page)
page
- int getCurrentPageIndex()
int getMaxPageIndex()
void refresh()
void addChangeListener(ChangeListener l)
l
- VirtualTable getVirtualTable()
Copyright © 2003–2022 XDEV Software. All rights reserved.