Package fr.paris.lutece.util.datatable
Class DataTablePaginationProperties
java.lang.Object
fr.paris.lutece.util.datatable.DataTablePaginationProperties
The Class DataTablePaginationProperties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the current page indexintGet the number of items to display per pagevoidsetCurrentPageIndex(int nCurrentPageIndex) Set the current page indexvoidsetItemsPerPage(int nItemsPerPage) Set the number of items to display per page
-
Constructor Details
-
DataTablePaginationProperties
public DataTablePaginationProperties()
-
-
Method Details
-
getItemsPerPage
public int getItemsPerPage()Get the number of items to display per page- Returns:
- The number of items to display per page
-
setItemsPerPage
public void setItemsPerPage(int nItemsPerPage) Set the number of items to display per page- Parameters:
nItemsPerPage- The number of items to display per page
-
getCurrentPageIndex
public int getCurrentPageIndex()Get the current page index- Returns:
- The current page index
-
setCurrentPageIndex
public void setCurrentPageIndex(int nCurrentPageIndex) Set the current page index- Parameters:
nCurrentPageIndex- The current page index
-