|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
State model for the ListControl
| Field Summary | |
static java.lang.String |
PROP_PAGE
State property for the current page |
| Fields inherited from interface com.cc.framework.ui.model.StateModel |
PROP_CONTROL |
| Method Summary | |
int |
getCurrentPage()
Returns the zero based index of the page which is currently display. |
java.lang.String[] |
getMarked()
Retrieves all marked items |
java.lang.String |
getSortColumn()
Returns the name of the column which is currently used for sorting. |
SortOrder |
getSortOrder()
Returns the sort order |
boolean |
isMarked(java.lang.String uniqueKey)
Checks if the specified row is selected. |
void |
mark(java.lang.String uniqueKey)
Selects a specified row. |
void |
resetSortInfo()
Resets any sorting Information |
void |
setCurrentPage(int page)
Sets the index for the page which is currently display to another value. |
void |
setSortInfo(java.lang.String column,
SortOrder direction)
Sets the sort order for the specified column |
void |
unmark(java.lang.String uniqueKey)
Unselects a specified row. |
void |
unmarkAll()
Unselects all selected rows |
| Methods inherited from interface com.cc.framework.ui.model.StateModel |
reset, synchronizeState |
| Field Detail |
public static final java.lang.String PROP_PAGE
| Method Detail |
public int getCurrentPage()
public void setCurrentPage(int page)
page - The new page indexpublic java.lang.String getSortColumn()
public SortOrder getSortOrder()
public void mark(java.lang.String uniqueKey)
uniqueKey - The unique key of the row which should be selectedpublic boolean isMarked(java.lang.String uniqueKey)
uniqueKey - The unique key
public java.lang.String[] getMarked()
public void unmark(java.lang.String uniqueKey)
uniqueKey - The unique key of the row which should be unselectedpublic void unmarkAll()
public void setSortInfo(java.lang.String column,
SortOrder direction)
column - Name of the columndirection - The sort orderpublic void resetSortInfo()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||