org.apache.tapestry.contrib.table.model.simple
Class SimpleTablePagingState

java.lang.Object
  extended by org.apache.tapestry.contrib.table.model.simple.SimpleTablePagingState
All Implemented Interfaces:
Serializable, ITablePagingState

public class SimpleTablePagingState
extends Object
implements ITablePagingState, Serializable

A minimal implementation of ITablePagingState.

Version:
$Id: SimpleTablePagingState.java 243791 2004-02-19 17:38:13Z hlship $
Author:
mindbridge
See Also:
Serialized Form

Constructor Summary
SimpleTablePagingState()
           
 
Method Summary
 int getCurrentPage()
          Returns the currentPage.
 int getPageSize()
          Returns the pageSize.
 void setCurrentPage(int currentPage)
          Sets the currentPage.
 void setPageSize(int pageSize)
          Sets the pageSize.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTablePagingState

public SimpleTablePagingState()
Method Detail

getPageSize

public int getPageSize()
Returns the pageSize.

Specified by:
getPageSize in interface ITablePagingState
Returns:
int

setPageSize

public void setPageSize(int pageSize)
Sets the pageSize.

Specified by:
setPageSize in interface ITablePagingState
Parameters:
pageSize - The pageSize to set

getCurrentPage

public int getCurrentPage()
Returns the currentPage.

Specified by:
getCurrentPage in interface ITablePagingState
Returns:
int

setCurrentPage

public void setCurrentPage(int currentPage)
Sets the currentPage.

Specified by:
setCurrentPage in interface ITablePagingState
Parameters:
currentPage - The currentPage to set