org.apache.beehive.netui.databinding.datagrid.model
Class PagerModel

Object
  extended by PagerModel

public class PagerModel
extends Object

todo: need to throw IllegalStateExceptions when pager model getters are called before the PagerModel is intiailized


Field Summary
static int FIRST_PAGE
           
 
Constructor Summary
PagerModel(DataGridModel model)
           
 
Method Summary
 String getAction()
           
 int getCurrentPage()
           
 int getCurrentPageFromURL()
           
 int getDataSetSize()
           
 String getFormat()
           
 int getLastPage()
           
 int getNextPage()
           
 String getPageAction()
           
 String getPageHref()
           
 String getPageParamKey()
           
 String[] getPageParamValues()
           
 PagerService getPagerService()
           
 int getPageSize()
           
 String getPageUri()
           
 int getPreviousPage()
           
 void initialize()
           
 void setAction(String action)
           
 void setCurrentPage(int currentPage)
           
 void setFormat(String format)
           
 void setPageAction(String pageAction)
           
 void setPageHref(String pageHref)
           
 void setPageSize(int pageSize)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRST_PAGE

public static final int FIRST_PAGE
See Also:
Constant Field Values
Constructor Detail

PagerModel

public PagerModel(DataGridModel model)
Method Detail

initialize

public void initialize()

getAction

public String getAction()

setAction

public void setAction(String action)

getPageSize

public int getPageSize()

setPageSize

public void setPageSize(int pageSize)

getFormat

public String getFormat()

setFormat

public void setFormat(String format)

getPageHref

public String getPageHref()

setPageHref

public void setPageHref(String pageHref)

getPageAction

public String getPageAction()

setPageAction

public void setPageAction(String pageAction)

getPageUri

public String getPageUri()

getPagerService

public PagerService getPagerService()

getCurrentPageFromURL

public int getCurrentPageFromURL()

getDataSetSize

public int getDataSetSize()

getLastPage

public int getLastPage()

getPreviousPage

public int getPreviousPage()

getNextPage

public int getNextPage()

getPageParamValues

public String[] getPageParamValues()

getPageParamKey

public String getPageParamKey()

getCurrentPage

public int getCurrentPage()

setCurrentPage

public void setCurrentPage(int currentPage)