public interface PageableTableModel extends Serializable
TableModel used to represent a
pageable data set.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Modifier and Type | Method and Description |
|---|---|
int |
getPage()
Return the page currently displayed in the model.
|
int |
getPageSize()
Return the number of rows displayed in a page.
|
int |
getTotalPages()
Return the total number of pages represented by the model.
|
void |
setPage(int page)
Set the page currently displayed in the model.
|
void |
setPageSize(int pageSize)
Set the number of rows to display in a page.
|
int getPage()
int getPageSize()
int getTotalPages()
void setPage(int page)
page - The page to be displayed.void setPageSize(int pageSize)
pageSize - The number of rows to display in a page.