|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.sap.ui.core.client.Element
com.sap.ui.core.client.Control
com.sap.ui.commons.client.Paginator
public class Paginator
The class Paginator is the GWT wrapper
for the Phoenix control: sap.ui.commons.Paginator.
The Paginator control offers navigation within a list of numbered pages. The user can directly access pages in the vicinity of the current page as well as jump to the beginning or end of the list of pages. The application is notified of any user interaction through the 'page' event.
| Constructor Summary | |
|---|---|
protected |
Paginator()
constructs the class Paginatorhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
Paginator |
attachPageEvent(com.sap.ui.core.client.event.EventListener listener)
attach an EventListener
Fired when the user when the user navigates to a different page bey either selecting it directly or jumping forward/backward. |
static Paginator |
create()
creates a new instance of the class Paginator |
static Paginator |
create(String idOrConfig)
creates a new instance of the class Paginator |
static Paginator |
create(String id,
String config)
creates a new instance of the class Paginator |
Paginator |
detachPageEvent(com.sap.ui.core.client.event.EventListener listener)
detach an EventListener
Fired when the user when the user navigates to a different page bey either selecting it directly or jumping forward/backward. |
int |
getCurrentPage()
Getter for property currentPage
The current page. |
int |
getNumberOfPages()
Getter for property numberOfPages
The number of pages that the parent control has. |
Paginator |
setCurrentPage(int value)
Setter for property currentPageDefault value is: 1 |
Paginator |
setNumberOfPages(int value)
Setter for property numberOfPagesDefault value is: |
| Methods inherited from class com.sap.ui.core.client.Control |
|---|
addStyleClass, hasStyleClass, invalidate, placeAt, placeAt, removeStyleClass, rerender |
| Methods inherited from class com.sap.ui.core.client.Element |
|---|
_convertArray, _convertArray, _convertArray, _convertArray, _convertArray, attachBrowserEvent, attachEvent, bindAggregation, bindContext, bindProperty, bindProperty, destroy, detachBrowserEvent, detachEvent, getDomRef, getElementName, getId, getLibraryName, getModel, getParent, getProperty, getTooltip_AsString, getTooltip_Text, getTooltip, isActive, setModel, setProperty, setTooltip, setTooltip, unbindAggregation, unbindContext, unbindProperty |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Paginator()
PaginatorJavaScriptObject restriction
| Method Detail |
|---|
public static Paginator create()
Paginator
public static Paginator create(String idOrConfig)
Paginator
id - id of the Paginator or configuration JSON string
public static Paginator create(String id,
String config)
Paginator
id - id of the Paginatorconfig - configuration JSON stringpublic final int getCurrentPage()
currentPage
The current page.
public final Paginator setCurrentPage(int value)
currentPage1
value - int
this to allow method chainingpublic final int getNumberOfPages()
numberOfPages
The number of pages that the parent control has.
public final Paginator setNumberOfPages(int value)
numberOfPages
value - int
this to allow method chainingpublic final Paginator attachPageEvent(com.sap.ui.core.client.event.EventListener listener)
EventListener
Fired when the user when the user navigates to a different page bey either selecting it directly or jumping forward/backward.
listener - reference to the EventListener
this to allow method chainingpublic final Paginator detachPageEvent(com.sap.ui.core.client.event.EventListener listener)
EventListener
Fired when the user when the user navigates to a different page bey either selecting it directly or jumping forward/backward.
listener - reference to the EventListener
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||