com.cc.framework.ui.model
Interface MultiLevelSelectDesignModel

All Superinterfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel, SelectDesignModel
All Known Implementing Classes:
MultiLevelSelectDesignModelImp

public interface MultiLevelSelectDesignModel
extends SelectDesignModel

Design model for the Multilevel Select Control

Version:
$Revision: 1.4 $
Author:
Harald Schulz

Method Summary
 int getLevels()
          Returns the number of levels.
 java.lang.String getSelectableProperty()
          Returns the name of the property that specifies if a tree node is to be selectable by the user or not.
 void setLevels(int levels)
          Sets the number of levels
 void setSelectableProperty(java.lang.String property)
          Sets the name of the property that specifies if a tree node is to be selectable by the user or not.
 
Methods inherited from interface com.cc.framework.ui.model.SelectDesignModel
getSize, isMultiple, setMultiple, setSize
 
Methods inherited from interface com.cc.framework.ui.model.ControlDesignModel
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth
 
Methods inherited from interface com.cc.framework.ui.model.ClientHandler
getHandler, getHandlers, setHandler
 
Methods inherited from interface com.cc.framework.ui.model.AccessControlled
getPermission, show
 
Methods inherited from interface com.cc.framework.ui.model.ActionBehavior
isAjaxEnabled
 
Methods inherited from interface com.cc.framework.ui.model.AjaxSupport
enableAjax, isAjaxEnabled
 

Method Detail

getLevels

public int getLevels()
Returns the number of levels.

Returns:
Number of levels

setLevels

public void setLevels(int levels)
Sets the number of levels

Parameters:
levels - The number of levels

getSelectableProperty

public java.lang.String getSelectableProperty()
Returns the name of the property that specifies if a tree node is to be selectable by the user or not. Each node of the data model has to implement this property. The property must return a boolean value.

Returns:
property name or null

setSelectableProperty

public void setSelectableProperty(java.lang.String property)
Sets the name of the property that specifies if a tree node is to be selectable by the user or not. Each node of the data model has to implement this property. The property must return a boolean value.

Parameters:
property - the name of the property


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