org.apache.tapestry5.corelib.components
Class GridPager

java.lang.Object
  extended by org.apache.tapestry5.corelib.components.GridPager

@Events(value="inplaceupdate (internal event)")
public class GridPager
extends Object

Generates a series of links used to jump to a particular page index within the overall data set.

Parameters:
NameTypeFlagsDefaultDefault PrefixSinceDescription
currentPageintRequiredpropThe current page number (indexed from 1).
rangeintsymbol:tapestry.components.gridpager_page_rangepropNumber of pages before and after the current page in the range. The pager always displays links for 2 * range + 1 pages, unless that's more than the total number of available pages.
rowsPerPageintRequiredpropThe number of rows displayed per page.
sourceorg.apache.tapestry5.grid.GridDataSourceRequiredpropThe source of the data displayed by the grid (this is used to determine how many rows are available, which in turn determines the page count).
zonejava.lang.StringpropIf not null, then each link is output as a link to update the specified zone.
Events:
inplaceupdate
(internal event)

Constructor Summary
GridPager()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridPager

public GridPager()


Copyright © 2003-2012 The Apache Software Foundation.