|
|||||||||||
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.CrumbsStateModelImp
Implementation of the CrumbsStateModel interface
Field Summary | |
private java.lang.String |
selected
The selected Crumb |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from interface com.cc.framework.ui.model.CrumbsStateModel |
PROP_SELECTED |
Fields inherited from interface com.cc.framework.ui.model.StateModel |
PROP_CONTROL |
Constructor Summary | |
CrumbsStateModelImp()
|
Method Summary | |
java.lang.String |
getSelectedCrumb()
Returns the current selected crumb |
boolean |
isSelected(CrumbModel crumb)
Returns true if the Crumb is selected |
void |
reset()
Resets the actual state of a control to the initial state |
void |
setSelectedCrumb(java.lang.String selected)
Selects the specified crumb |
void |
synchronizeState(PropertyMap properties)
This method applies the given state properties to the controls state model |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private java.lang.String selected
Constructor Detail |
public CrumbsStateModelImp()
Method Detail |
public java.lang.String getSelectedCrumb()
CrumbsStateModel
getSelectedCrumb
in interface CrumbsStateModel
CrumbsStateModel.getSelectedCrumb()
public void setSelectedCrumb(java.lang.String selected)
CrumbsStateModel
setSelectedCrumb
in interface CrumbsStateModel
selected
- crumb to be selectedCrumbsStateModel.setSelectedCrumb(java.lang.String)
public boolean isSelected(CrumbModel crumb)
CrumbsStateModel
true
if the Crumb is selected
isSelected
in interface CrumbsStateModel
crumb
- CrumbModel
CrumbsStateModel.isSelected(com.cc.framework.ui.model.CrumbModel)
public void reset()
StateModel
reset
in interface StateModel
StateModel.reset()
public void synchronizeState(PropertyMap properties) throws java.lang.Exception
StateModel
synchronizeState
in interface StateModel
properties
- State properties
java.lang.Exception
- is thrown when an error occurs during executionStateModel.synchronizeState(com.cc.framework.util.PropertyMap)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |