public class RichFacesDataScroller extends Object implements DataScroller, AdvancedVisibleComponentIteractions<RichFacesDataScroller.AdvancedDataScrollerInteractions>
| Modifier and Type | Class and Description |
|---|---|
class |
RichFacesDataScroller.AdvancedDataScrollerInteractions |
DataScroller.DataScrollerSwitchButton| Constructor and Description |
|---|
RichFacesDataScroller() |
| Modifier and Type | Method and Description |
|---|---|
RichFacesDataScroller.AdvancedDataScrollerInteractions |
advanced() |
int |
getActivePageNumber()
Gets the index of the currently selected page.
|
boolean |
hasPages()
Determines whether there are some pages to scroll over with this DataScroller.
|
void |
switchTo(DataScroller.DataScrollerSwitchButton btn)
Switch by buttons.
|
void |
switchTo(int pageNumber)
Direct switch to page.
|
public int getActivePageNumber()
DataScrollergetActivePageNumber in interface DataScrollerpublic void switchTo(int pageNumber)
DataScrollerswitchTo in interface DataScrollerpageNumber - of the page which will be selectedpublic void switchTo(DataScroller.DataScrollerSwitchButton btn)
DataScrollerswitchTo in interface DataScrollerbtn - the button which will be used to control the dataScroller in order to switch to a wished pageDataScroller.DataScrollerSwitchButtonpublic boolean hasPages()
DataScrollerhasPages in interface DataScrollerpublic RichFacesDataScroller.AdvancedDataScrollerInteractions advanced()
advanced in interface AdvancedInteractions<RichFacesDataScroller.AdvancedDataScrollerInteractions>Copyright © 2016 JBoss by Red Hat. All Rights Reserved.