com.cc.framework.ui.model
Interface ColumnSelectDesignModel

All Superinterfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ColumnDesignModel, DesignModel, OptionListDesignModel
All Known Implementing Classes:
ColumnSelectDesignModelImp

public interface ColumnSelectDesignModel
extends ColumnDesignModel, OptionListDesignModel

Defines the visual Properties for the select Column

Version:
$Revision: 1.11 $
Author:
Harald Schulz

Method Summary
 java.lang.String getOptionsProperty()
          Returns the name of the property which returns the individual OptionListDataModel for each row of the list
 java.lang.Object getSharedOptions()
          Returns the OptionListDataModel that is shared among all rows of the list
 int getSize()
          Returns the number of visible characters for an input/text field.
 boolean isMultiple()
          Indicates that multiple selections is allowed.
 void setMultiple(boolean multiple)
          Indicates that multiple selections is allowed.
 void setOptionsProperty(java.lang.String property)
          Specifies the name of the property which returns the OptionListDataModel
 void setSharedOptions(java.lang.Object elements)
          Sets a option list that is shared among all rows of the list
 void setSize(int size)
          Sets the size of the input field.
 void setSize(java.lang.String size)
          Sets the size of the input field.
 
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
 
Methods inherited from interface com.cc.framework.ui.model.OptionListDesignModel
filter, getEmpty, getImageMap, getKeyProperty, getLabelProperty, getMaxLength, getProperty, getStyle, getStyleClass, getTooltipProperty, localize, setEmpty, setFilter, setImageMap, setKeyProperty, setLabelProperty, setLocalize, setMaxLength, setProperty, setStyle, setStyleClass, setTooltipProperty, showRoot, showRoot
 

Method Detail

setOptionsProperty

public void setOptionsProperty(java.lang.String property)
Specifies the name of the property which returns the OptionListDataModel

Parameters:
property - The name of the property

getOptionsProperty

public java.lang.String getOptionsProperty()
Returns the name of the property which returns the individual OptionListDataModel for each row of the list

Returns:
The name of the property

setSharedOptions

public void setSharedOptions(java.lang.Object elements)
Sets a option list that is shared among all rows of the list

Parameters:
elements - The Option elements

getSharedOptions

public java.lang.Object getSharedOptions()
Returns the OptionListDataModel that is shared among all rows of the list

Returns:
Option elements

getSize

public int getSize()
Returns the number of visible characters for an input/text field.

Returns:
Number of character positions to allocate

setSize

public void setSize(int size)
Sets the size of the input field.

Parameters:
size - The size of the input field.

setSize

public void setSize(java.lang.String size)
Sets the size of the input field.

Parameters:
size - The size of the input field.

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 - for multiple selection


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