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

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.CheckboxGroupDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, CheckboxGroupDesignModel, ClientHandler, ControlDesignModel, DesignModel, java.io.Serializable
Direct Known Subclasses:
RadioGroupDesignModelImp

public class CheckboxGroupDesignModelImp
extends ControlDesignModelImp
implements CheckboxGroupDesignModel

Designmodel for the checkbox group control

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

Field Summary
private  int columns
          Number of checkbox columns
private  java.lang.String disableProperty
          The name of the property that is used to disable checkbox items
private  java.lang.String groupingProperty
          The name of the property that is used to group checkbox items
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
 
Constructor Summary
CheckboxGroupDesignModelImp()
          Constructor for SelectDesignModelImp
 
Method Summary
 int getColumns()
          Returns the number of checkbox columns
 java.lang.String getDisableProperty()
           
 java.lang.String getGroupingProperty()
           
 void setColumns(int columns)
          Sets the number of checkbox columns
 void setDisableProperty(java.lang.String property)
           
 void setGroupingProperty(java.lang.String property)
           
 
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

columns

private int columns
Number of checkbox columns


groupingProperty

private java.lang.String groupingProperty
The name of the property that is used to group checkbox items


disableProperty

private java.lang.String disableProperty
The name of the property that is used to disable checkbox items

Constructor Detail

CheckboxGroupDesignModelImp

public CheckboxGroupDesignModelImp()
Constructor for SelectDesignModelImp

Method Detail

getColumns

public int getColumns()
Description copied from interface: CheckboxGroupDesignModel
Returns the number of checkbox columns

Specified by:
getColumns in interface CheckboxGroupDesignModel
Returns:
int
See Also:
CheckboxGroupDesignModel.getColumns()

setColumns

public void setColumns(int columns)
Description copied from interface: CheckboxGroupDesignModel
Sets the number of checkbox columns

Specified by:
setColumns in interface CheckboxGroupDesignModel
Parameters:
columns - Number of columns
See Also:
CheckboxGroupDesignModel.setColumns(int)

getGroupingProperty

public java.lang.String getGroupingProperty()
Specified by:
getGroupingProperty in interface CheckboxGroupDesignModel
Returns:
returns the name of the property that is used to group checkbox items
See Also:
CheckboxGroupDesignModel.getGroupingProperty()

setGroupingProperty

public void setGroupingProperty(java.lang.String property)
Specified by:
setGroupingProperty in interface CheckboxGroupDesignModel
Parameters:
property - the name of the property that is used to group checkbox items
See Also:
CheckboxGroupDesignModel.setGroupingProperty(java.lang.String)

getDisableProperty

public java.lang.String getDisableProperty()
Specified by:
getDisableProperty in interface CheckboxGroupDesignModel
Returns:
returns the name of the property that is used to disable individual checkbox items
See Also:
CheckboxGroupDesignModel.getDisableProperty()

setDisableProperty

public void setDisableProperty(java.lang.String property)
Specified by:
setDisableProperty in interface CheckboxGroupDesignModel
Parameters:
property - the name of the property that is used to disable checkbox items
See Also:
CheckboxGroupDesignModel.setDisableProperty(java.lang.String)


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