org.apache.beehive.netui.databinding.datagrid.rendering.impl
Class AbstractPagerRenderer
Object
AbstractPagerRenderer
- All Implemented Interfaces:
- IPagerRenderer
- Direct Known Subclasses:
- FirstPreviousNextLastPagerRenderer, PreviousNextPagerRenderer
public abstract class AbstractPagerRenderer
- extends Object
- implements IPagerRenderer
todo: lots of i18n here
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPagerRenderer
public AbstractPagerRenderer(DataGridModel gridModel,
PagerModel pagerModel)
getPagerModel
public PagerModel getPagerModel()
getDataGridModel
public DataGridModel getDataGridModel()
getPageUri
public String getPageUri()
render
public String render()
- Specified by:
render
in interface IPagerRenderer
noDataRender
protected String noDataRender()
internalRender
protected abstract String internalRender()
buildLiveFirstLink
protected static final void buildLiveFirstLink(StringBuilder buf,
PagerService pagerService,
String pageUri)
buildDeadFirstLink
protected static final void buildDeadFirstLink(StringBuilder buf)
buildLivePreviousLink
protected static final void buildLivePreviousLink(StringBuilder buf,
PagerService pagerService,
String pageUri)
buildDeadPreviousLink
protected static final void buildDeadPreviousLink(StringBuilder buf)
buildLiveNextPageLink
protected static final void buildLiveNextPageLink(StringBuilder buf,
PagerService pagerService,
String pageUri)
buildDeadNextLink
protected static final void buildDeadNextLink(StringBuilder buf)
buildLiveLastLink
protected static final void buildLiveLastLink(StringBuilder buf,
PagerService pagerService,
String pageUri,
int lastPage)
buildDeadLastLink
protected static final void buildDeadLastLink(StringBuilder buf)