Module org.apache.wicket.core
Interface IPageableItems
- All Superinterfaces:
IClusterable
,IPageable
,Serializable
- All Known Implementing Classes:
AbstractDataGridView
,AbstractPageableView
,AjaxFallbackDefaultDataTable
,DataGridView
,DataTable
,DataView
,DataViewBase
,DefaultDataTable
,GridView
,PageableListView
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
Modifier and TypeMethodDescriptionlong
Gets the total number of items this object has.long
maximum number of visible items per pagevoid
setItemsPerPage
(long itemsPerPage) set the maximum number of visible items per pageMethods inherited from interface org.apache.wicket.markup.html.navigation.paging.IPageable
getCurrentPage, getPageCount, setCurrentPage
-
Method Details
-
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
set the maximum number of visible items per page- Parameters:
itemsPerPage
-
-