Package fr.paris.lutece.portal.web.util
Class LocalizedDelegatePaginator<E>
- java.lang.Object
-
- fr.paris.lutece.util.html.AbstractPaginator<E>
-
- fr.paris.lutece.util.html.DelegatePaginator<E>
-
- fr.paris.lutece.portal.web.util.LocalizedDelegatePaginator<E>
-
- Type Parameters:
E- the element type
- All Implemented Interfaces:
IPaginator<E>,Serializable
public class LocalizedDelegatePaginator<E> extends DelegatePaginator<E>
Localized Delegate Paginator.- See Also:
LocalizedPaginator, Serialized Form
-
-
Field Summary
-
Fields inherited from class fr.paris.lutece.util.html.AbstractPaginator
LABEL_FIRST, LABEL_LAST, LABEL_NEXT, LABEL_PREVIOUS, PARAMETER_ITEMS_PER_PAGE, PARAMETER_PAGE_INDEX
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabelFirst()Get First labelStringgetLabelItemCount()Get Item Count labelStringgetLabelItemCountPerPage()Get Item Count per page labelStringgetLabelLast()Get First labelStringgetLabelNext()Get Next labelStringgetLabelPrevious()Get Previous label-
Methods inherited from class fr.paris.lutece.util.html.DelegatePaginator
getPageItems
-
Methods inherited from class fr.paris.lutece.util.html.AbstractPaginator
getFirstPageLink, getItemsCount, getItemsPerPage, getItemsPerPage, getItemsPerPageParameterName, getLastPageLink, getNextPageLink, getPageCurrent, getPageIndex, getPagesCount, getPagesLinks, getPreviousPageLink, getRangeMax, getRangeMin, setItemsPerPageParameterName
-
-
-
-
Constructor Detail
-
LocalizedDelegatePaginator
public LocalizedDelegatePaginator(List<E> list, int nItemPerPage, String strBaseUrl, String strPageIndexParameterName, String strPageIndex, int nItemsCount, Locale locale)
Instantiates a new localized delegate paginator.- Parameters:
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 indexnItemsCount- total itemslocale- The Locale
-
-
Method Detail
-
getLabelFirst
public String getLabelFirst()
Get First label- Specified by:
getLabelFirstin interfaceIPaginator<E>- Overrides:
getLabelFirstin classAbstractPaginator<E>- Returns:
- The Label
-
getLabelPrevious
public String getLabelPrevious()
Get Previous label- Specified by:
getLabelPreviousin interfaceIPaginator<E>- Overrides:
getLabelPreviousin classAbstractPaginator<E>- Returns:
- The Label
-
getLabelNext
public String getLabelNext()
Get Next label- Specified by:
getLabelNextin interfaceIPaginator<E>- Overrides:
getLabelNextin classAbstractPaginator<E>- Returns:
- The Label
-
getLabelLast
public String getLabelLast()
Get First label- Specified by:
getLabelLastin interfaceIPaginator<E>- Overrides:
getLabelLastin classAbstractPaginator<E>- Returns:
- The Label
-
getLabelItemCount
public String getLabelItemCount()
Get Item Count label- Specified by:
getLabelItemCountin interfaceIPaginator<E>- Overrides:
getLabelItemCountin classAbstractPaginator<E>- Returns:
- The Label
-
getLabelItemCountPerPage
public String getLabelItemCountPerPage()
Get Item Count per page label- Specified by:
getLabelItemCountPerPagein interfaceIPaginator<E>- Overrides:
getLabelItemCountPerPagein classAbstractPaginator<E>- Returns:
- The Label
-
-