Interface IPageableItems
-
- All Superinterfaces:
IClusterable
,IPageable
,Serializable
- All Known Implementing Classes:
AbstractDataGridView
,AbstractPageableView
,AjaxFallbackDefaultDataTable
,DataGridView
,DataTable
,DataView
,DataViewBase
,DefaultDataTable
,GridView
,PageableListView
public interface IPageableItems extends IPageable
represents a countable amount of items that can be paginated. each page except the last one will contain an equal number of items.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getItemCount()
Gets the total number of items this object has.long
getItemsPerPage()
maximum number of visible items per pagevoid
setItemsPerPage(long itemsPerPage)
set the maximum number of visible items per page-
Methods inherited from interface org.apache.wicket.markup.html.navigation.paging.IPageable
getCurrentPage, getPageCount, setCurrentPage
-
-
-
-
Method Detail
-
getItemCount
long getItemCount()
Gets the total number of items this object has.- Returns:
- The total number of items this object has.
-
getItemsPerPage
long getItemsPerPage()
maximum number of visible items per page- Returns:
- number of items
-
setItemsPerPage
void setItemsPerPage(long itemsPerPage)
set the maximum number of visible items per page- Parameters:
itemsPerPage
-
-
-