|
|||||||||||
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.TabsetStateModelImp
Implementation of the TabsetStateModel interface
Field Summary | |
private java.lang.String |
first
The first visible Tabpage |
private java.lang.String |
selected
The selected Tabpage |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from interface com.cc.framework.ui.model.TabsetStateModel |
PROP_FIRST, PROP_SELECTED |
Fields inherited from interface com.cc.framework.ui.model.StateModel |
PROP_CONTROL |
Constructor Summary | |
TabsetStateModelImp()
|
Method Summary | |
java.lang.String |
getFirstVisibleTab()
Returns the first visible TabPage of the tabSet |
java.lang.String |
getSelectedTab()
Returns the current selected TabPage of the tabSet |
boolean |
isSelected(TabDesignModel tab)
Returns true if the TabPage is selected |
void |
reset()
Resets the actual state of a control to the initial state |
void |
setFirstVisibleTab(java.lang.String first)
Selects the first visible TabPage |
void |
setSelectedTab(java.lang.String selected)
Selects the specified TabPage |
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
private java.lang.String first
Constructor Detail |
public TabsetStateModelImp()
Method Detail |
public java.lang.String getFirstVisibleTab()
TabsetStateModel
getFirstVisibleTab
in interface TabsetStateModel
null
TabsetStateModel.getFirstVisibleTab()
public void setFirstVisibleTab(java.lang.String first)
TabsetStateModel
setFirstVisibleTab
in interface TabsetStateModel
first
- The first visible TabPageTabsetStateModel.setFirstVisibleTab(java.lang.String)
public java.lang.String getSelectedTab()
TabsetStateModel
getSelectedTab
in interface TabsetStateModel
TabsetStateModel.getSelectedTab()
public void setSelectedTab(java.lang.String selected)
TabsetStateModel
setSelectedTab
in interface TabsetStateModel
selected
- TabPage to be selectedTabsetStateModel.setSelectedTab(java.lang.String)
public boolean isSelected(TabDesignModel tab)
TabsetStateModel
true
if the TabPage is selected
isSelected
in interface TabsetStateModel
tab
- TabDesignModel
TabsetStateModel.isSelected(com.cc.framework.ui.model.TabDesignModel)
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 |