本文整理了Java中org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable.setItemsPerPage()
方法的一些代码示例,展示了DataTable.setItemsPerPage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DataTable.setItemsPerPage()
方法的具体详情如下:
包路径:org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable
类名称:DataTable
方法名:setItemsPerPage
[英]Sets the number of items to be displayed per page
[中]
代码示例来源:origin: org.opensingular/wicket-utils
public BSDataTable<T, S> setRowsPerPage(Long items) {
super.setItemsPerPage(ObjectUtils.defaultIfNull(items, DEFAULT_ROWS_PER_PAGE));
return this;
}
public long getRowsPerPage() {
代码示例来源:origin: org.opensingular/singular-wicket-utils
public BSDataTable<T, S> setRowsPerPage(Long items) {
super.setItemsPerPage(ObjectUtils.defaultIfNull(items, DEFAULT_ROWS_PER_PAGE));
return this;
}
public long getRowsPerPage() {
代码示例来源:origin: org.opensingular/wicket-utils
public BSTableTree<T, S> setRowsPerPage(Long rowsPerPage) {
super.getTable().setItemsPerPage((rowsPerPage != null) ? rowsPerPage : DEFAULT_ROWS_PER_PAGE);
return this;
}
代码示例来源:origin: org.opensingular/singular-wicket-utils
public BSTableTree<T, S> setRowsPerPage(Long rowsPerPage) {
super.getTable().setItemsPerPage((rowsPerPage != null) ? rowsPerPage : DEFAULT_ROWS_PER_PAGE);
return this;
}
代码示例来源:origin: micromata/projectforge
/**
* Called, if the list must be refreshed. Sets list to null and page size of data table.
*/
public void refresh()
{
this.resultList = null; // Force reload of list
this.refreshResultList = true;
final long itemsPerPage = dataTable.getItemsPerPage();
if (form.getPageSize() != null && form.getPageSize().longValue() != itemsPerPage) {
dataTable.setItemsPerPage(form.getPageSize());
}
addRecentSearchTerm();
}
内容来源于网络,如有侵权,请联系作者删除!