org.chenillekit.tapestry.core.components
Class PagedLoop

java.lang.Object
  extended by org.chenillekit.tapestry.core.components.PagedLoop
All Implemented Interfaces:
ClientElement

public class PagedLoop
extends Object
implements ClientElement

Provides a paged list similar to the grid component. However, this uses a ul instead of a table by default. The list and its items are configurable via parameters.

Version:
$Id: PagedLoop.java 674 2010-07-29 12:47:25Z homburgs $

Constructor Summary
PagedLoop()
           
 
Method Summary
 String getClientId()
          Returns a unique id for the element.
 int getCurrentPage()
           
 String getElement()
           
 PagedSource<?> getPagedSource()
           
 Object getPagerBottom()
           
 Object getPagerTop()
           
 int getRowsPerPage()
           
 void setCurrentPage(int currentPage)
           
 void setRowsPerPage(int rowsPerPage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagedLoop

public PagedLoop()
Method Detail

getElement

public String getElement()

getPagerTop

public Object getPagerTop()

getPagerBottom

public Object getPagerBottom()

getPagedSource

public PagedSource<?> getPagedSource()

getRowsPerPage

public int getRowsPerPage()

setRowsPerPage

public void setRowsPerPage(int rowsPerPage)

getCurrentPage

public int getCurrentPage()

setCurrentPage

public void setCurrentPage(int currentPage)

getClientId

public String getClientId()
Returns a unique id for the element. This value will be unique for any given rendering of a page. This value is intended for use as the id attribute of the client-side element, and will be used with any DHTML/Ajax related JavaScript.

Specified by:
getClientId in interface ClientElement


Copyright © 2008-2010 ChenilleKit. All Rights Reserved.