org.apache.tapestry.contrib.table.components
Class TablePages
java.lang.Object
org.apache.tapestry.spec.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
org.apache.tapestry.contrib.table.components.AbstractTableViewComponent
org.apache.tapestry.contrib.table.components.TablePages
- All Implemented Interfaces:
- IComponent, ILocatable, ILocationHolder, IRender
- Direct Known Subclasses:
- TableFormPages
public abstract class TablePages
- extends AbstractTableViewComponent
A low level Table component that renders the pages in the table.
This component must be wrapped by TableView
.
The component generates a list of pages in the Table centered around the
current one and allows you to navigate to other pages.
Please see the Component Reference for details on how to use this component.
[Component Reference]
- Version:
- $Id: TablePages.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- mindbridge
Methods inherited from class org.apache.tapestry.AbstractComponent |
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString |
TablePages
public TablePages()
getPagesDisplayed
public abstract int getPagesDisplayed()
getDisplayPage
public int getDisplayPage()
- Returns the displayPage.
- Returns:
- int
setDisplayPage
public void setDisplayPage(int displayPage)
- Sets the displayPage.
- Parameters:
displayPage
- The displayPage to set
getCurrentPage
public int getCurrentPage()
getPageCount
public int getPageCount()
getCondBack
public boolean getCondBack()
getCondFwd
public boolean getCondFwd()
getCondCurrent
public boolean getCondCurrent()
getStartPage
public int getStartPage()
getStopPage
public int getStopPage()
getPageList
public Integer[] getPageList()
getFirstPageContext
public Object[] getFirstPageContext()
getLastPageContext
public Object[] getLastPageContext()
getBackPageContext
public Object[] getBackPageContext()
getFwdPageContext
public Object[] getFwdPageContext()
getDisplayPageContext
public Object[] getDisplayPageContext()
changePage
public void changePage(IRequestCycle objCycle)
setCurrentPage
public void setCurrentPage(ITableModelSource objSource,
int nPage)