com.cc.framework.ui.model.imp
Class SelectDesignModelImp

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.ClientHandlerImp
      extended bycom.cc.framework.ui.model.imp.ControlDesignModelImp
          extended bycom.cc.framework.ui.model.imp.SelectDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel, SelectDesignModel, java.io.Serializable
Direct Known Subclasses:
MultiLevelSelectDesignModelImp

public class SelectDesignModelImp
extends ControlDesignModelImp
implements SelectDesignModel

Designmodel for the SelectControl

Since:
1.0
Version:
$Revision: 1.13 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  boolean multiple
          Indicates that multiple selections is allowed.
private static long serialVersionUID
          Serial Version UID
private  int size
          Number of character positions to allocate.
 
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
 
Constructor Summary
SelectDesignModelImp()
          Constructor for SelectDesignModelImp
 
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 class com.cc.framework.ui.model.imp.ControlDesignModelImp
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, 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, show
 
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
evaluate, getHandler, getHandlers, setHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

size

private int size
Number of character positions to allocate.


multiple

private boolean multiple
Indicates that multiple selections is allowed.

Constructor Detail

SelectDesignModelImp

public SelectDesignModelImp()
Constructor for SelectDesignModelImp

Method Detail

getSize

public int getSize()
Description copied from interface: SelectDesignModel
Returns the number of visible items.

Specified by:
getSize in interface SelectDesignModel
Returns:
Number of items
See Also:
SelectDesignModel.getSize()

isMultiple

public boolean isMultiple()
Description copied from interface: SelectDesignModel
Indicates that multiple selections is allowed.

Specified by:
isMultiple in interface SelectDesignModel
Returns:
returns true for a multiple selection control
See Also:
SelectDesignModel.isMultiple()

setMultiple

public void setMultiple(boolean multiple)
Description copied from interface: SelectDesignModel
Indicates that multiple selections is allowed.

Specified by:
setMultiple in interface SelectDesignModel
Parameters:
multiple - true for multiple selection
See Also:
SelectDesignModel.setMultiple(boolean)

setSize

public void setSize(int size)
Description copied from interface: SelectDesignModel
Sets the number of visible items

Specified by:
setSize in interface SelectDesignModel
Parameters:
size - The number of visible items
See Also:
SelectDesignModel.setSize(int)


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