Dashboard Builder Commons 6.0.0.CR2

org.jboss.dashboard.commons.collections
Class CursoredList

java.lang.Object
  extended by org.jboss.dashboard.commons.collections.CursoredList
All Implemented Interfaces:
Serializable

public class CursoredList
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
CursoredList(List l)
           
 
Method Summary
 List getList()
           
 int getNumberOfPages()
           
 List getPage()
          Retrieve elements belonging to current cursor page.
 int getPageNumber()
           
 int getPageSize()
           
 void setList(List list)
           
 void setPageNumber(int pageNumber)
          Sets current page.
 void setPageSize(int pageSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CursoredList

public CursoredList(List l)
Method Detail

getList

public List getList()

setList

public void setList(List list)

getPageNumber

public int getPageNumber()

setPageNumber

public void setPageNumber(int pageNumber)
                   throws ArrayIndexOutOfBoundsException
Sets current page.

Parameters:
pageNumber - The page number where cursor must be positioned.
Throws:
IllegalArgumentException - Igf page number is out of bounds
ArrayIndexOutOfBoundsException

getPageSize

public int getPageSize()

setPageSize

public void setPageSize(int pageSize)

getNumberOfPages

public int getNumberOfPages()

getPage

public List getPage()
Retrieve elements belonging to current cursor page.


Dashboard Builder Commons 6.0.0.CR2

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.