Package fr.paris.lutece.util.datatable
Class DataTablePaginationProperties
- java.lang.Object
-
- fr.paris.lutece.util.datatable.DataTablePaginationProperties
-
public class DataTablePaginationProperties extends java.lang.ObjectThe Class DataTablePaginationProperties.
-
-
Constructor Summary
Constructors Constructor Description DataTablePaginationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurrentPageIndex()Get the current page indexintgetItemsPerPage()Get 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
-
-
-
Method Detail
-
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
-
-