com.cc.framework.ui.model
Interface TabsetStateModel

All Superinterfaces:
StateModel
All Known Implementing Classes:
TabbarControl, TabsetStateModelImp

public interface TabsetStateModel
extends StateModel

Defines the Methods which manages the state of the Tabset

Since:
1.0
Version:
$Revision: 1.8 $
Author:
Harald Schulz

Field Summary
static java.lang.String PROP_FIRST
          State property for the first visible page
static java.lang.String PROP_SELECTED
          State property for the selected page
 
Fields inherited from interface com.cc.framework.ui.model.StateModel
PROP_CONTROL
 
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 setFirstVisibleTab(java.lang.String first)
          Selects the first visible TabPage
 void setSelectedTab(java.lang.String selected)
          Selects the specified TabPage
 
Methods inherited from interface com.cc.framework.ui.model.StateModel
reset, synchronizeState
 

Field Detail

PROP_SELECTED

public static final java.lang.String PROP_SELECTED
State property for the selected page

See Also:
Constant Field Values

PROP_FIRST

public static final java.lang.String PROP_FIRST
State property for the first visible page

See Also:
Constant Field Values
Method Detail

getFirstVisibleTab

public java.lang.String getFirstVisibleTab()
Returns the first visible TabPage of the tabSet

Returns:
String or null

setFirstVisibleTab

public void setFirstVisibleTab(java.lang.String first)
Selects the first visible TabPage

Parameters:
first - The first visible TabPage

getSelectedTab

public java.lang.String getSelectedTab()
Returns the current selected TabPage of the tabSet

Returns:
String

setSelectedTab

public void setSelectedTab(java.lang.String selected)
Selects the specified TabPage

Parameters:
selected - TabPage to be selected

isSelected

public boolean isSelected(TabDesignModel tab)
Returns true if the TabPage is selected

Parameters:
tab - TabDesignModel
Returns:
boolean


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.