org.equanda.tapestry5.components
Class JSPagedLoop

java.lang.Object
  extended by org.equanda.tapestry5.components.JSPagedLoop
All Implemented Interfaces:
org.apache.tapestry5.ClientElement

public class JSPagedLoop
extends Object
implements org.apache.tapestry5.ClientElement

Paged Loop component with Java Script Pager

Author:
Vladimir Tkachenko

Constructor Summary
JSPagedLoop()
           
 
Method Summary
 int getAddedRowCount()
           
 String getAddedRowFieldName()
           
 int getAdditionalRowCount()
           
 String getAddRowLinkTitle()
           
 org.apache.tapestry5.Block getBottomBlock()
           
 String getClientId()
          Returns a unique id for the element.
 PagerConfig getConfig()
           
 int getCurrentPage()
           
 String getCurrentPageFieldName()
           
 String getCurrentRowId()
           
 String getDisplayStyle()
           
 String getElementName()
           
 String getFixedClientId()
           
 int getIndex()
           
 List<Object> getPagedSource()
           
 Object getPagerBottom()
           
 int getRowsPerPage()
           
 void setAddedRowCount(int addedRowCount)
           
 void setAdditionalRowCount(int additionalRowCount)
           
 void setConfig(PagerConfig config)
           
 void setCurrentPage(int currentPage)
           
 void setIndex(int index)
           
 void setRowsPerPage(int rowsPerPage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSPagedLoop

public JSPagedLoop()
Method Detail

getAddRowLinkTitle

public String getAddRowLinkTitle()

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

getElementName

public String getElementName()

getBottomBlock

public org.apache.tapestry5.Block getBottomBlock()

getPagerBottom

public Object getPagerBottom()

getPagedSource

public List<Object> getPagedSource()

getRowsPerPage

public int getRowsPerPage()

setRowsPerPage

public void setRowsPerPage(int rowsPerPage)

getCurrentPage

public int getCurrentPage()

setCurrentPage

public void setCurrentPage(int currentPage)

getAddedRowCount

public int getAddedRowCount()

setAddedRowCount

public void setAddedRowCount(int addedRowCount)

getAdditionalRowCount

public int getAdditionalRowCount()

setAdditionalRowCount

public void setAdditionalRowCount(int additionalRowCount)

getCurrentRowId

public String getCurrentRowId()

getCurrentPageFieldName

public String getCurrentPageFieldName()

getAddedRowFieldName

public String getAddedRowFieldName()

getConfig

public PagerConfig getConfig()

setConfig

public void setConfig(PagerConfig config)

getDisplayStyle

public String getDisplayStyle()

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 org.apache.tapestry5.ClientElement

getFixedClientId

public String getFixedClientId()


Copyright © 2007-2009. All Rights Reserved.