public class PaginationComponentFormatter extends Formatter
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_ELEMENT |
static String |
PARAM_INDEX |
static String |
PARAM_INVERSE_POSITION |
static String |
PARAM_POSITION |
Constructor and Description |
---|
PaginationComponentFormatter() |
Modifier and Type | Method and Description |
---|---|
PaginationComponentHandler |
getPaginationComponentHandler() |
protected void |
renderPaginationBottom() |
protected void |
renderPaginationHeader(PaginationContentProvider contentProvider,
int length) |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform the required logic for this Formatter.
|
void |
setPaginationComponentHandler(PaginationComponentHandler paginationComponentHandler) |
afterRendering, formatObject, getDefaultLang, getDriver, getEncoding, getLang, getLocale, getLocaleManager, getLocalizedValue, getPanel, getParameter, getProvider, getSection, getWorkspace, includePage, renderFragment, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeInterpreter, setTag, writeToOut
public static final String PARAM_ELEMENT
public static final String PARAM_INDEX
public static final String PARAM_POSITION
public static final String PARAM_INVERSE_POSITION
public PaginationComponentHandler getPaginationComponentHandler()
public void setPaginationComponentHandler(PaginationComponentHandler paginationComponentHandler)
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws FormatterException
Formatter
service
in class Formatter
request
- user requestresponse
- response to the userFormatterException
- in case of an unexpected exception.protected void renderPaginationHeader(PaginationContentProvider contentProvider, int length)
protected void renderPaginationBottom()
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.