public static class ListPageElement.ListTableInfo extends Object
Constructor and Description |
---|
ListTableInfo() |
Modifier and Type | Method and Description |
---|---|
void |
firstPage(javax.faces.event.ActionEvent e)
set the next x entries
|
int |
getItemCount() |
int |
getPageCount() |
int |
getPageNumber() |
int |
getPageSize() |
int |
getPosition() |
String |
getSortColumnName() |
void |
init(int itemCount,
int pageSize) |
boolean |
isAllowPagination() |
boolean |
isFirstPage() |
boolean |
isHasNextPage() |
boolean |
isHasPrevPage() |
boolean |
isLastPage() |
boolean |
isModified() |
boolean |
isSortAscending() |
boolean |
isSortOrderChanged() |
boolean |
isValid() |
void |
lastPage(javax.faces.event.ActionEvent e)
set the next x entries
|
void |
nextPage(javax.faces.event.ActionEvent e)
set the next x entries
|
void |
prevPage(javax.faces.event.ActionEvent e)
set the prev x entries
|
void |
setModified(boolean modified) |
void |
setPageNumber(int newPageNumber) |
void |
setPosition(int position) |
void |
setSortAscending(boolean sortAscending) |
void |
setSortColumn(javax.faces.event.ActionEvent ae) |
void |
setSortColumnName(String column) |
void |
setSortOrderChanged(boolean sortOrderChanged) |
void |
setValid(boolean valid) |
public void init(int itemCount, int pageSize)
public boolean isValid()
public void setValid(boolean valid)
public boolean isModified()
public void setModified(boolean modified)
public int getItemCount()
public int getPageSize()
public String getSortColumnName()
public void setSortColumnName(String column)
public boolean isSortAscending()
public void setSortAscending(boolean sortAscending)
public boolean isSortOrderChanged()
public void setSortOrderChanged(boolean sortOrderChanged)
public void setSortColumn(javax.faces.event.ActionEvent ae)
public int getPosition()
public void setPosition(int position)
public boolean isAllowPagination()
public boolean isFirstPage()
public boolean isLastPage()
public boolean isHasNextPage()
public boolean isHasPrevPage()
public void nextPage(javax.faces.event.ActionEvent e)
e
- the action eventpublic void prevPage(javax.faces.event.ActionEvent e)
e
- the action eventpublic void firstPage(javax.faces.event.ActionEvent e)
e
- the action eventpublic void lastPage(javax.faces.event.ActionEvent e)
e
- the action eventpublic int getPageNumber()
public void setPageNumber(int newPageNumber)
public int getPageCount()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.