|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 ListStateModel
ListStateModel.getCurrentPage()
public java.lang.String getSortColumn()
ListStateModel
getSortColumn
in interface ListStateModel
ListStateModel.getSortColumn()
public SortOrder getSortOrder()
ListStateModel
getSortOrder
in interface ListStateModel
ListStateModel.getSortOrder()
public void setCurrentPage(int page)
ListStateModel
setCurrentPage
in interface ListStateModel
page
- The new page indexListStateModel.setCurrentPage(int)
public void setSortInfo(java.lang.String column, SortOrder direction)
ListStateModel
setSortInfo
in interface ListStateModel
column
- Name of the columndirection
- The sort orderListStateModel.setSortInfo(java.lang.String, com.cc.framework.common.SortOrder)
public void resetSortInfo()
ListStateModel
resetSortInfo
in interface ListStateModel
ListStateModel.resetSortInfo()
public void reset()
StateModel
reset
in interface StateModel
reset
in class TreeStateModelImp
StateModel.reset()
public void synchronizeState(PropertyMap properties) throws java.lang.Exception
StateModel
synchronizeState
in interface StateModel
synchronizeState
in class TreeStateModelImp
java.lang.Exception
StateModel.synchronizeState(com.cc.framework.util.PropertyMap)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |