com.cc.framework.ui.model
Interface SelectDesignModel

All Superinterfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel
All Known Subinterfaces:
MultiLevelSelectDesignModel
All Known Implementing Classes:
MultiLevelSelectDesignModelImp, SelectDesignModelImp

public interface SelectDesignModel
extends ControlDesignModel

Design model for the Select Control

Version:
$Revision: 1.10 $
Author:
Harald Schulz

Method Summary
 int getSize()
          Returns the number of visible items.
 boolean isMultiple()
          Indicates that multiple selections is allowed.
 void setMultiple(boolean multiple)
          Indicates that multiple selections is allowed.
 void setSize(int size)
          Sets the number of visible items
 
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

getSize

public int getSize()
Returns the number of visible items.

Returns:
Number of items

setSize

public void setSize(int size)
Sets the number of visible items

Parameters:
size - The number of visible items

isMultiple

public boolean isMultiple()
Indicates that multiple selections is allowed.

Returns:
returns true for a multiple selection control

setMultiple

public void setMultiple(boolean multiple)
Indicates that multiple selections is allowed.

Parameters:
multiple - true for multiple selection


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