it.eng.spago.paginator.basic.impl
Class GenericPaginator

java.lang.Object
  extended byit.eng.spago.paginator.basic.impl.GenericPaginator
All Implemented Interfaces:
PaginatorIFace, java.io.Serializable

public class GenericPaginator
extends java.lang.Object
implements PaginatorIFace, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
GenericPaginator()
           
 
Method Summary
 void addRow(java.lang.Object row)
           
 SourceBean getAll()
           
 SourceBean getPage(int page)
           
 int getPageSize()
           
 int pages()
           
 int rows()
           
 void setPageSize(int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericPaginator

public GenericPaginator()
Method Detail

addRow

public void addRow(java.lang.Object row)
Specified by:
addRow in interface PaginatorIFace

getPageSize

public int getPageSize()
Specified by:
getPageSize in interface PaginatorIFace

setPageSize

public void setPageSize(int size)
Specified by:
setPageSize in interface PaginatorIFace

rows

public int rows()
Specified by:
rows in interface PaginatorIFace

pages

public int pages()
Specified by:
pages in interface PaginatorIFace

getPage

public SourceBean getPage(int page)
Specified by:
getPage in interface PaginatorIFace

getAll

public SourceBean getAll()
Specified by:
getAll in interface PaginatorIFace