|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sap.ui.core.client.ControlWidget
com.sap.ui.commons.client.PaginatorWidget
public class PaginatorWidget
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
|
PaginatorWidget()
constructs the class PaginatorWidget |
protected |
PaginatorWidget(Paginator control)
constructs the class PaginatorWidget |
|
PaginatorWidget(String id)
constructs the class PaginatorWidget |
| Method Summary | |
|---|---|
void |
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. |
void |
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. |
Paginator |
getControl()
returns the reference to the Phoenix Control |
int |
getCurrentPage()
Getter for property currentPage
The current page. |
int |
getNumberOfPages()
Getter for property numberOfPages
The number of pages that the parent control has. |
void |
setCurrentPage(int value)
Setter for property currentPageDefault value is: 1 |
void |
setNumberOfPages(int value)
Setter for property numberOfPagesDefault value is: |
| Methods inherited from class com.sap.ui.core.client.ControlWidget |
|---|
destroy, doAttachChildren, doDetachChildren, isDesignTime, wrap |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PaginatorWidget()
PaginatorWidget
public PaginatorWidget(String id)
PaginatorWidget
id - id of the PaginatorWidgetprotected PaginatorWidget(Paginator control)
PaginatorWidget
control - reference to an existing Paginator| Method Detail |
|---|
public Paginator getControl()
Control
getControl in class com.sap.ui.core.client.ControlWidgetControlpublic int getCurrentPage()
currentPage
The current page.
public void setCurrentPage(int value)
currentPage1
value - intpublic int getNumberOfPages()
numberOfPages
The number of pages that the parent control has.
public void setNumberOfPages(int value)
numberOfPages
value - intpublic void 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 EventListenerpublic void 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||