public interface DataScrollerComponent
DataScrollerComponent represents a scroller attached to some data structure, like to the table.
His purpose is to scroll over data, which is divided into multiple pages.
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfPages()
Returns the total number of pages, the data structure is divided to.
|
void |
gotoFirstPage()
Goes to the first page of data structure the scroller is bounded to.
|
void |
gotoLastPage()
Goes to the last page of data structure the scroller is bounded to.
|
boolean |
gotoNextPage()
Goes to the next page of data structure the scroller is bounded to.
|
boolean |
gotoPreviousPage()
Goes to the previous page of data structure the scroller is bounded to.
|
void gotoFirstPage()
void gotoLastPage()
boolean gotoNextPage()
Goes to the next page of data structure the scroller is bounded to.
That is when it is currently on the page number 1, after invocation it will be on the page number 2.
boolean gotoPreviousPage()
Goes to the previous page of data structure the scroller is bounded to.
That is when it is currently on the page number 2, after invocation it will be on the page number 1.
int getNumberOfPages()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.