| com.gwtext.client.widgets.Component com.gwtext.client.widgets.BoxComponent com.gwtext.client.widgets.Toolbar com.gwtext.client.widgets.PagingToolbar
PagingToolbar | public class PagingToolbar extends Toolbar (Code) | | A specialized toolbar that is bound to a
Store and provides automatic paging controls.
|
PagingToolbar | public PagingToolbar()(Code) | | Create a new PagingToolbar.
|
PagingToolbar | public PagingToolbar(Store store)(Code) | | Create a new PagingToolbar.
Parameters: store - the underlying Store |
PagingToolbar | public PagingToolbar(JavaScriptObject jsObj)(Code) | | |
bind | public void bind(Store store)(Code) | | Binds the paging toolbar to the specified Store.
Parameters: store - the Store to bind to |
create | native protected JavaScriptObject create(JavaScriptObject config)(Code) | | |
getAfterPageText | public String getAfterPageText()(Code) | | The after page paging text tooltip (defaults to "of %0")
the after page tooltip |
getBeforePageText | public String getBeforePageText()(Code) | | The before page paging text tooltip (defaults to "First Page")
the before text tooltip |
getDisplayInfo | public boolean getDisplayInfo()(Code) | | True to display the displayMsg.
true to display the info |
getDisplayMsg | public String getDisplayMsg()(Code) | | The paging status message to display (defaults to "Displaying {start} - {end} of {total}").
the display message |
getEmptyMsg | public String getEmptyMsg()(Code) | | the message dispalyed when no records are found |
getFirstText | public String getFirstText()(Code) | | The first page paging text tooltip (defaults to "First Page")
the after page tooltip |
getLastText | public String getLastText()(Code) | | The last page paging text tooltip (defaults to "Last Page")
the after page tooltip |
getNextText | public String getNextText()(Code) | | The next page paging text tooltip (defaults to "Next Page")
the next page tooltip |
getPageSize | public int getPageSize()(Code) | | The number of records to display per page (defaults to 20).
the page size |
getPrevText | public String getPrevText()(Code) | | The previous page paging text tooltip (defaults to "Previous Page")
the previous page tooltip |
getRefreshText | public String getRefreshText()(Code) | | The refresh page paging text tooltip (defaults to "Refresh")
the after page tooltip |
getStore | public Store getStore()(Code) | | Return the Store of the PagingToolbar.
the store |
setAfterPageText | public void setAfterPageText(String afterPageText) throws IllegalStateException(Code) | | The after page paging text tooltip (defaults to "of %0")
Parameters: afterPageText - the before page tooltip throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setBeforePageText | public void setBeforePageText(String beforePageText) throws IllegalStateException(Code) | | The before page paging text tooltip (defaults to "First Page")
Parameters: beforePageText - the before page tooltip throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setDisplayInfo | public void setDisplayInfo(boolean displayInfo) throws IllegalStateException(Code) | | True to display the displayMsg (defaults to false).
Parameters: displayInfo - the display message throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setDisplayMsg | public void setDisplayMsg(String displayMsg)(Code) | | The paging status message to display (defaults to "Displaying {start} - {end} of {total}").
Parameters: displayMsg - the display message |
setEmptyMsg | public void setEmptyMsg(String emptyMsg)(Code) | | The message to display when no records are found (defaults to "No data to display").
Parameters: emptyMsg - the empty message |
setFirstText | public void setFirstText(String firstText) throws IllegalStateException(Code) | | The first page paging text tooltip (defaults to "First Page")
Parameters: firstText - the first page tooltip throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setLastText | public void setLastText(String lastText) throws IllegalStateException(Code) | | The last page paging text tooltip (defaults to "Last Page")
Parameters: lastText - the first page tooltip throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setNextText | public void setNextText(String nextText) throws IllegalStateException(Code) | | The next page paging text tooltip (defaults to "Next Page")
Parameters: nextText - the first page tooltip throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setPageSize | public void setPageSize(int pageSize)(Code) | | The number of records to display per page (defaults to 20).
Parameters: pageSize - the page size |
setPrevText | public void setPrevText(String prevText) throws IllegalStateException(Code) | | The previous page paging text tooltip (defaults to "Previous Page")
Parameters: prevText - the first page tooltip throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setRefreshText | public void setRefreshText(String refreshText) throws IllegalStateException(Code) | | The refrest page paging text tooltip (defaults to "Refresh")
Parameters: refreshText - the first page tooltip throws: IllegalStateException - this property cannot be changed after the Component has been rendered |
setStore | public void setStore(Store store)(Code) | | Set the Store for the PagingToolbar.
Parameters: store - the store |
unbind | public void unbind(Store store)(Code) | | Unbinds the paging toolbar from the specified Store.
Parameters: store - the store |
Methods inherited from com.gwtext.client.widgets.Component | public void addClass(String cls)(Code)(Java Doc) native public void addClassCreated(String cls)(Code)(Java Doc) native public void addEvent(String events)(Code)(Java Doc) public void addEvents(String[] events)(Code)(Java Doc) protected void addListener(String event, JavaScriptObject fn)(Code)(Java Doc) native public void addListener(String event, Function funtion)(Code)(Java Doc) native protected void addListener(ComponentListener listener)(Code)(Java Doc) protected void afterRender()(Code)(Java Doc) protected void beforeDestroy()(Code)(Java Doc) protected void check() throws IllegalStateException(Code)(Java Doc) public Component cloneComponent()(Code)(Java Doc) public Component cloneComponent(Component overrides)(Code)(Java Doc) native protected JavaScriptObject cloneConfig(JavaScriptObject config)(Code)(Java Doc) abstract protected JavaScriptObject create(JavaScriptObject config)(Code)(Java Doc) native public void destroy()(Code)(Java Doc) public void disable()(Code)(Java Doc) public void enable()(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) protected void error(String message) throws IllegalStateException(Code)(Java Doc) public void focus()(Code)(Java Doc) native public void focus(boolean selectText)(Code)(Java Doc) native public void focus(boolean selectText, int delay)(Code)(Java Doc) public Element getApplyTo()(Code)(Java Doc) protected String getAttribute(String attribute)(Code)(Java Doc) protected boolean getAttributeAsBoolean(String attribute)(Code)(Java Doc) protected float getAttributeAsFloat(String attribute)(Code)(Java Doc) protected int getAttributeAsInt(String attribute)(Code)(Java Doc) protected JavaScriptObject getAttributeAsJavaScriptObject(String attribute)(Code)(Java Doc) public boolean getAutoShow()(Code)(Java Doc) public String getCls()(Code)(Java Doc) native protected static JavaScriptObject getComponentJS(String id)(Code)(Java Doc) public JavaScriptObject getConfig()(Code)(Java Doc) abstract protected JavaScriptObject getConfigPrototype()(Code)(Java Doc) public String getCtCls()(Code)(Java Doc) public String getDisabledClass()(Code)(Java Doc) native public ExtElement getEl()(Code)(Java Doc) native protected Element getElement(JavaScriptObject jsObj)(Code)(Java Doc) public Element getElement()(Code)(Java Doc) public String getHideMode()(Code)(Java Doc) public boolean getHideParent()(Code)(Java Doc) public String getId()(Code)(Java Doc) native public String getItemId()(Code)(Java Doc) public JavaScriptObject getJsObj()(Code)(Java Doc) public int getOffsetHeight()(Code)(Java Doc) public int getOffsetWidth()(Code)(Java Doc) public JavaScriptObject getOrCreateJsObj()(Code)(Java Doc) native public Container getOwnerContainer()(Code)(Java Doc) public Element getRenderTo()(Code)(Java Doc) public String[] getStateEvents()(Code)(Java Doc) public String getStateId()(Code)(Java Doc) public String getStyle()(Code)(Java Doc) protected Element getStyleElement()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public String getXType()(Code)(Java Doc) native public String getXTypes()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public void hide()(Code)(Java Doc) protected void initComponent()(Code)(Java Doc) public boolean isCreated()(Code)(Java Doc) public boolean isDisabled()(Code)(Java Doc) public boolean isHidden()(Code)(Java Doc) native public boolean isRendered()(Code)(Java Doc) native public boolean isVisible()(Code)(Java Doc) native public boolean isXType(String xtype)(Code)(Java Doc) native public boolean isXType(String xtype, boolean shallow)(Code)(Java Doc) protected void onDestroy()(Code)(Java Doc) native public void removeClass(String cls)(Code)(Java Doc) native public void render(String id)(Code)(Java Doc) native public void render(String id, String position)(Code)(Java Doc) native public void render(String id, int position)(Code)(Java Doc) native public void render(Element element)(Code)(Java Doc) native public void render(Element element, String position)(Code)(Java Doc) native public void render(Element element, int position)(Code)(Java Doc) public void setApplyTo(Element element) throws IllegalStateException(Code)(Java Doc) protected void setAttribute(String attribute, String value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, String value, boolean allowPostCreate, boolean allowPostRendered)(Code)(Java Doc) protected void setAttribute(String attribute, int[] value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, int[] value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, long value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, double value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, int value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, int value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, Date value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, JavaScriptObject value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, JavaScriptObject value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, String[] value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, String[] value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, boolean value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, boolean value, boolean allowPostCreate, boolean allowPostRendered)(Code)(Java Doc) protected void setAttribute(String attribute, Element value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, Element value, boolean allowPostCreate, boolean allowPostRendered)(Code)(Java Doc) public void setAutoEl(String autoEl)(Code)(Java Doc) public void setAutoShow(boolean autoShow) throws IllegalStateException(Code)(Java Doc) public void setCls(String cls)(Code)(Java Doc) public void setCtCls(String ctCls) throws IllegalStateException(Code)(Java Doc) public void setDisabled(boolean disabled)(Code)(Java Doc) public void setDisabledClass(String disabledClass)(Code)(Java Doc) public void setEl(Element el) throws IllegalStateException(Code)(Java Doc) public void setEl(String elementID) throws IllegalStateException(Code)(Java Doc) public void setHeight(String height)(Code)(Java Doc) public void setHideMode(String hideMode)(Code)(Java Doc) public void setHideParent(boolean hideParent) throws IllegalStateException(Code)(Java Doc) final public void setId(String id) throws IllegalStateException(Code)(Java Doc) public void setRenderTo(Element elem) throws IllegalStateException(Code)(Java Doc) public void setStateEvents(String[] stateEvents) throws IllegalStateException(Code)(Java Doc) public void setStateId(String stateId) throws IllegalStateException(Code)(Java Doc) public void setStyle(String style) throws IllegalStateException(Code)(Java Doc) public void setTitle(String title)(Code)(Java Doc) public void setVisible(boolean visible)(Code)(Java Doc) public void setWidth(String width)(Code)(Java Doc) public void show()(Code)(Java Doc)
|
|
|