|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.html.AbstractPaginator<E>
fr.paris.lutece.util.html.Paginator<E>
fr.paris.lutece.portal.web.util.LocalizedPaginator<E>
E - Item of the listpublic class LocalizedPaginator<E>
Localized Paginator
| Field Summary |
|---|
| Fields inherited from class fr.paris.lutece.util.html.AbstractPaginator |
|---|
_list, _nItemPerPage, _nItemsCount, _nPageCurrent, _strBaseUrl, _strItemsPerPageParameterName, _strPageIndexParameterName, LABEL_FIRST, LABEL_LAST, LABEL_NEXT, LABEL_PREVIOUS, PARAMETER_ITEMS_PER_PAGE, PARAMETER_PAGE_INDEX |
| Constructor Summary | |
|---|---|
LocalizedPaginator(java.util.List<E> list,
int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.String strPageIndex,
java.util.Locale locale)
Creates a new instance of Paginator |
|
LocalizedPaginator(java.util.List<E> list,
int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.String strPageIndex,
java.lang.String strItemsPerPageParameterName,
java.util.Locale locale)
Creates a new instance of Paginator |
|
| Method Summary | |
|---|---|
java.lang.String |
getLabelFirst()
Get First label |
java.lang.String |
getLabelItemCount()
Get Item Count label |
java.lang.String |
getLabelItemCountPerPage()
Get Item Count per page label |
java.lang.String |
getLabelLast()
Get First label |
java.lang.String |
getLabelNext()
Get Next label |
java.lang.String |
getLabelPrevious()
Get Previous label |
| Methods inherited from class fr.paris.lutece.util.html.Paginator |
|---|
getPageItems |
| Methods inherited from class fr.paris.lutece.util.html.AbstractPaginator |
|---|
getFirstPageLink, getItemsCount, getItemsPerPage, getItemsPerPageParameterName, getLastPageLink, getNextPageLink, getPageCurrent, getPageIndex, getPagesCount, getPagesLinks, getPreviousPageLink, getRangeMax, getRangeMin, setItemsPerPageParameterName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalizedPaginator(java.util.List<E> list,
int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.String strPageIndex,
java.util.Locale locale)
list - The collection to paginatenItemPerPage - Number of items to display per pagestrBaseUrl - The base Url for build links on each page linkstrPageIndexParameterName - The parameter name for the page indexstrPageIndex - The current page indexlocale - The Locale
public LocalizedPaginator(java.util.List<E> list,
int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.String strPageIndex,
java.lang.String strItemsPerPageParameterName,
java.util.Locale locale)
list - The collection to paginatenItemPerPage - Number of items to display per pagestrBaseUrl - The base Url for build links on each page linkstrPageIndexParameterName - The parameter name for the page indexstrPageIndex - The current page indexstrItemsPerPageParameterName - The parameter name of the number items per pagelocale - The Locale| Method Detail |
|---|
public java.lang.String getLabelFirst()
getLabelFirst in interface IPaginator<E>getLabelFirst in class AbstractPaginator<E>public java.lang.String getLabelPrevious()
getLabelPrevious in interface IPaginator<E>getLabelPrevious in class AbstractPaginator<E>public java.lang.String getLabelNext()
getLabelNext in interface IPaginator<E>getLabelNext in class AbstractPaginator<E>public java.lang.String getLabelLast()
getLabelLast in interface IPaginator<E>getLabelLast in class AbstractPaginator<E>public java.lang.String getLabelItemCount()
getLabelItemCount in interface IPaginator<E>getLabelItemCount in class AbstractPaginator<E>public java.lang.String getLabelItemCountPerPage()
getLabelItemCountPerPage in interface IPaginator<E>getLabelItemCountPerPage in class AbstractPaginator<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||