|
|||||||||
| 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.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.PagingToolBar
public class PagingToolBar
A specialized toolbar that is bound to a ListLoader and provides
automatic paging controls.
| 入れ子クラス 概要 | |
|---|---|
class |
PagingToolBar.PagingToolBarMessages
|
| クラス com.google.gwt.user.client.ui.UIObject から継承された 入れ子クラス/インターフェース |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field 概要 |
|---|
| クラス com.google.gwt.user.client.ui.UIObject から継承されたフィールド(Fields) |
|---|
DEBUG_ID_PREFIX |
| コンストラクタ 概要 | |
|---|---|
PagingToolBar(int pageSize)
Creates a new paging tool bar with the given page size. |
|
| メソッド 概要 | |
|---|---|
void |
bind(PagingLoader loader)
Binds the toolbar to the loader. |
void |
clear()
Clears the current toolbar text. |
void |
first()
Moves to the first page. |
int |
getActivePage()
Returns the active page. |
PagingToolBar.PagingToolBarMessages |
getMessages()
Returns the tool bar's messages. |
int |
getPageSize()
Returns the current page size. |
int |
getTotalPages()
Returns the total number of pages. |
void |
handleEvent(BaseEvent be)
Sent when an event that the listener has registered for occurs. |
void |
last()
Moves to the last page. |
void |
next()
Moves to the last page. |
void |
previous()
Moves the the previos page. |
void |
refresh()
Refreshes the data using the current configuration. |
void |
setActivePage(int page)
Sets the active page (1 to page count inclusive). |
void |
setMessages(PagingToolBar.PagingToolBarMessages messages)
Sets the tool bar's messages. |
void |
setPageSize(int pageSize)
Sets the current page size. |
| クラス com.extjs.gxt.ui.client.widget.Component から継承されたメソッド |
|---|
addListener, addStyleName, addWidgetListener, disable, disableEvents, disableTextSelection, el, enable, enableEvents, fireEvent, fireEvent, fireEvent, fly, focus, getBaseStyle, getBorders, getData, getData, getElement, getId, getItemId, getModel, getState, getToolTip, hide, hideToolTip, isEnabled, isRendered, isVisible, onBrowserEvent, onComponentEvent, recalculate, removeAllListeners, removeFromParent, removeListener, removeStyleName, removeWidgetListener, render, render, saveState, setBorders, setData, setData, setElement, setEnabled, setEnableState, setHeight, setId, setIntStyleAttribute, setItemId, setPixelSize, setSize, setStyleAttribute, setStyleName, setTitle, setToolTip, setToolTip, setVisible, setWidth, show, toString |
| クラス com.google.gwt.user.client.ui.Widget から継承されたメソッド |
|---|
getParent, isAttached |
| クラス com.google.gwt.user.client.ui.UIObject から継承されたメソッド |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタ 詳細 |
|---|
public PagingToolBar(int pageSize)
pageSize - the page size| メソッド 詳細 |
|---|
public void bind(PagingLoader loader)
loader - the loaderpublic void clear()
public void first()
public int getActivePage()
public PagingToolBar.PagingToolBarMessages getMessages()
public int getPageSize()
public int getTotalPages()
public void handleEvent(BaseEvent be)
Listener
handleEvent in interface Listenerbe - the event which occurredpublic void last()
public void next()
public void previous()
public void refresh()
public void setActivePage(int page)
page - the pagepublic void setMessages(PagingToolBar.PagingToolBarMessages messages)
messages - the messagespublic void setPageSize(int pageSize)
pageSize - the new page size
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||