|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.model.imp.TreeStateModelImp
com.cc.framework.ui.model.imp.TreelistStateModelImp
Implementation of the TreelistStateModel interface
| Field Summary | |
private int |
currentPage
Current Page, which is displayed |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
sortColumn
Column to sort |
private SortOrder |
sortOrder
The sort order |
| Fields inherited from class com.cc.framework.ui.model.imp.TreeStateModelImp |
|
| Fields inherited from interface com.cc.framework.ui.model.ListStateModel |
PROP_PAGE |
| Fields inherited from interface com.cc.framework.ui.model.StateModel |
PROP_CONTROL |
| Fields inherited from interface com.cc.framework.ui.model.TreeStateModel |
PROP_EXPANDED, PROP_SELECTED |
| Constructor Summary | |
TreelistStateModelImp()
|
|
| Method Summary | |
int |
getCurrentPage()
Returns the zero based index of the page which is currently display. |
java.lang.String |
getSortColumn()
Returns the name of the column which is currently used for sorting. |
SortOrder |
getSortOrder()
Returns the sort order |
void |
reset()
Resets the actual state of a control to the initial state |
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 |
synchronizeState(PropertyMap properties)
This method applies the given state properties to the controls state model |
| Methods inherited from class com.cc.framework.ui.model.imp.TreeStateModelImp |
collapse, collapseAll, expand, getMarked, getSelected, isExpanded, isMarked, isSelected, mark, select, unmark, unmarkAll, unselectAll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.cc.framework.ui.model.ListStateModel |
getMarked, isMarked, mark, unmark, unmarkAll |
| Methods inherited from interface com.cc.framework.ui.model.TreeStateModel |
collapse, collapseAll, expand, getMarked, getSelected, isExpanded, isMarked, isSelected, mark, select, unmark, unmarkAll, unselectAll |
| Field Detail |
private static final long serialVersionUID
private int currentPage
private java.lang.String sortColumn
private SortOrder sortOrder
| Constructor Detail |
public TreelistStateModelImp()
| Method Detail |
public int getCurrentPage()
ListStateModel
getCurrentPage in interface ListStateModelListStateModel.getCurrentPage()public java.lang.String getSortColumn()
ListStateModel
getSortColumn in interface ListStateModelListStateModel.getSortColumn()public SortOrder getSortOrder()
ListStateModel
getSortOrder in interface ListStateModelListStateModel.getSortOrder()public void setCurrentPage(int page)
ListStateModel
setCurrentPage in interface ListStateModelpage - The new page indexListStateModel.setCurrentPage(int)
public void setSortInfo(java.lang.String column,
SortOrder direction)
ListStateModel
setSortInfo in interface ListStateModelcolumn - Name of the columndirection - The sort orderListStateModel.setSortInfo(java.lang.String, com.cc.framework.common.SortOrder)public void resetSortInfo()
ListStateModel
resetSortInfo in interface ListStateModelListStateModel.resetSortInfo()public void reset()
StateModel
reset in interface StateModelreset in class TreeStateModelImpStateModel.reset()
public void synchronizeState(PropertyMap properties)
throws java.lang.Exception
StateModel
synchronizeState in interface StateModelsynchronizeState in class TreeStateModelImpjava.lang.ExceptionStateModel.synchronizeState(com.cc.framework.util.PropertyMap)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||