|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDataContainer
| Field Summary | |
|---|---|
static java.lang.String |
SORT_CASEINSENSITIVE
|
static java.lang.String |
SORT_CASESENSITIVE
|
| Method Summary | |
|---|---|
int |
getCurrentPage()
Return the current page the list is displaying |
java.lang.String |
getCurrentSortColumn()
Return the currently sorted column if any |
int |
getPageCount()
Return the count of max available pages |
int |
getPageSize()
Returns the current page size used for this list, or -1 for no paging. |
boolean |
isCurrentSortDescending()
Returns the current sort direction. |
boolean |
isDataAvailable()
Returns true if a row of data is available |
java.lang.Object |
nextRow()
Returns the next row of data from the data model |
void |
setCurrentPage(int index)
Set the current page to display. |
void |
sort(java.lang.String column,
boolean descending,
java.lang.String mode)
Sort the dataset using the specified sort parameters |
| Field Detail |
|---|
static final java.lang.String SORT_CASEINSENSITIVE
static final java.lang.String SORT_CASESENSITIVE
| Method Detail |
|---|
java.lang.String getCurrentSortColumn()
boolean isCurrentSortDescending()
int getPageSize()
int getCurrentPage()
void setCurrentPage(int index)
index - Zero based page index to displayint getPageCount()
boolean isDataAvailable()
java.lang.Object nextRow()
void sort(java.lang.String column,
boolean descending,
java.lang.String mode)
column - Column to sortdescending - True for descending sort, false for ascendingmode - Sort mode to use (see IDataContainer constants)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||