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

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.ClientHandlerImp
      extended bycom.cc.framework.ui.model.imp.ColumnDesignModelImp
          extended bycom.cc.framework.ui.model.imp.ColumnTextDesignModelImp
              extended bycom.cc.framework.ui.model.imp.ColumnCheckboxDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ColumnCheckboxDesignModel, ColumnDesignModel, ColumnTextDesignModel, DesignModel, java.io.Serializable

public class ColumnCheckboxDesignModelImp
extends ColumnTextDesignModelImp
implements ColumnCheckboxDesignModel

Designmodel for the ColumnCheckboxColumn

Since:
1.3
Version:
$Revision: 1.10 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  CheckRange checkRange
          Indicates if the multiple check option of the column is enabled
private  SelectMode selectMode
          The selection mode for optional checkboxes.
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.model.imp.ColumnTextDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ColumnDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
 
Constructor Summary
ColumnCheckboxDesignModelImp()
          Constructor for ColumnEditDesignModelImp
 
Method Summary
 boolean checkAll()
          Deprecated. use getCheckRange()
 CheckRange getCheckRange()
          Determines what rows the multiple check option of the column should affect.
 SelectMode getSelectMode()
          Specifies the selection mode of the list.
 void setCheckAll(boolean enable)
          Deprecated. use setCheckRange()
 void setCheckRange(CheckRange range)
          Defines what rows the multiple check option of the column should affect.
 void setSelectMode(SelectMode mode)
          Sets the selection mode of the list.
 
Methods inherited from class com.cc.framework.ui.model.imp.ColumnTextDesignModelImp
getInputType, getSize, setInputType, setSize, setSize
 
Methods inherited from class com.cc.framework.ui.model.imp.ColumnDesignModelImp
addDesignRule, allowAjaxRendering, enableAjax, filter, getAlignment, getAnchor, getAnchorProperty, getConverter, getDesignRules, getDisableProperty, getEditableProperty, getEnableProperty, getEnvironment, getHandler, getHeader, getImageMap, getImageProperty, getJoinMode, getLinkName, getLinkNameProperty, getMaxLength, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getTarget, getTargetProperty, getTitle, getTooltip, getTooltipProperty, getTransaction, getType, getWidth, isAjaxEnabled, isDisabled, isEditable, isSortable, setAlignment, setAlignment, setAnchor, setAnchorProperty, setConverter, setDisabled, setDisabled, setDisableProperty, setEditable, setEditable, setEditableProperty, setEnableProperty, setEnvironment, setFilter, setFilter, setHeader, setImageMap, setImageProperty, setJoinMode, setJoinMode, setLinkName, setLinkNameProperty, setMaxLength, setMaxLength, setPermission, setPermission, setProperty, setRunAt, setSortable, setStyle, setStyleClass, setStyleId, setTarget, setTargetProperty, setTitle, setTooltip, setTooltipProperty, setTransaction, setType, setWidth, setWidth, show
 
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
evaluate, 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.ColumnTextDesignModel
getInputType, getSize, setInputType, setSize, setSize
 
Methods inherited from interface com.cc.framework.ui.model.ColumnDesignModel
addDesignRule, allowAjaxRendering, filter, getAlignment, getAnchor, getAnchorProperty, getConverter, getDesignRules, getDisableProperty, getEditableProperty, getEnableProperty, getEnvironment, getHeader, getImageMap, getImageProperty, getJoinMode, getLinkName, getLinkNameProperty, getMaxLength, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getTarget, getTargetProperty, getTitle, getTooltip, getTooltipProperty, getTransaction, getType, getWidth, isDisabled, isEditable, isSortable, setAlignment, setAlignment, setAnchor, setAnchorProperty, setConverter, setDisabled, setDisabled, setDisableProperty, setEditable, setEditable, setEditableProperty, setEnableProperty, setEnvironment, setFilter, setFilter, setHeader, setImageMap, setImageProperty, setJoinMode, setJoinMode, setLinkName, setLinkNameProperty, setMaxLength, setMaxLength, setPermission, setPermission, setProperty, setRunAt, setSortable, setStyle, setStyleClass, setStyleId, setTarget, setTargetProperty, setTitle, setTooltip, setTooltipProperty, setTransaction, setType, setWidth, 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

selectMode

private SelectMode selectMode
The selection mode for optional checkboxes.


checkRange

private CheckRange checkRange
Indicates if the multiple check option of the column is enabled

Constructor Detail

ColumnCheckboxDesignModelImp

public ColumnCheckboxDesignModelImp()
Constructor for ColumnEditDesignModelImp

Method Detail

getSelectMode

public SelectMode getSelectMode()
Description copied from interface: ColumnCheckboxDesignModel
Specifies the selection mode of the list. This is only used if a Check column is to be displayed here as well.

Specified by:
getSelectMode in interface ColumnCheckboxDesignModel
Returns:
SelectMode
See Also:
ColumnCheckboxDesignModel.getSelectMode()

setSelectMode

public void setSelectMode(SelectMode mode)
Description copied from interface: ColumnCheckboxDesignModel
Sets the selection mode of the list.

Specified by:
setSelectMode in interface ColumnCheckboxDesignModel
Parameters:
mode - the selection mode
See Also:
ColumnCheckboxDesignModel.setSelectMode(com.cc.framework.ui.SelectMode)

checkAll

public final boolean checkAll()
Deprecated. use getCheckRange()

Indicates if the multiple check option of the column is enabled

Returns:
true when the multiple check option of the column is enabled

setCheckAll

public final void setCheckAll(boolean enable)
Deprecated. use setCheckRange()

Enables the check all property of the column

Parameters:
enable - true enable the multiple check option of the column

getCheckRange

public CheckRange getCheckRange()
Description copied from interface: ColumnCheckboxDesignModel
Determines what rows the multiple check option of the column should affect.

Specified by:
getCheckRange in interface ColumnCheckboxDesignModel
Returns:
the range of rows to check
See Also:
ColumnCheckboxDesignModel.getCheckRange()

setCheckRange

public void setCheckRange(CheckRange range)
Description copied from interface: ColumnCheckboxDesignModel
Defines what rows the multiple check option of the column should affect.

Specified by:
setCheckRange in interface ColumnCheckboxDesignModel
Parameters:
range - the range of rows to check
See Also:
ColumnCheckboxDesignModel.setCheckRange(com.cc.framework.ui.CheckRange)


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