com.cc.framework.ui.model
Interface TextareaDesignModel

All Superinterfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel
All Known Subinterfaces:
TextPopupDesignModel
All Known Implementing Classes:
TextareaDesignModelImp, TextPopupDesignModelImp

public interface TextareaDesignModel
extends ControlDesignModel

Designmodel for the Textarea field

Version:
$Revision: 1.12 $
Author:
Harald Schulz

Method Summary
 int getColumns()
          Returns the number of Columns
 Converter getConverter()
          Returns the the Converter that should be used to convert Java Objects into their localized String representation.
 int getMaxLength()
          Returns the maximal length of the value for the textarea
 int getRows()
          Returns the number of Rows
 java.lang.String getTooltip()
          Retrieves the optional tooltip text
 java.lang.String getWrap()
          The WRAP attribute can be used to specify how to handle word-wrapping display in text input areas in forms.
 boolean isReadonly()
          Returns true if the read only attribute was set
 void setColumns(int columns)
          Sets the number of Columns
 void setConverter(Converter converter)
          Sets the Converter that should be used to convert Java Objects into their localized String representation.
 void setMaxLength(int maxlength)
          Sets the maximal length of the value for the textarea
 void setReadonly(boolean readonly)
          Specifies the read only attribute
 void setRows(int rows)
          Sets the number of Rows
 void setTooltip(java.lang.String tooltip)
          Sets the optional tooltip text
 void setWrap(java.lang.String wrap)
          The WRAP attribute can be used to specify how to handle word-wrapping display in text input areas in forms.
 
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, 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, 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

getColumns

public int getColumns()
Returns the number of Columns

Returns:
integer

setColumns

public void setColumns(int columns)
Sets the number of Columns

Parameters:
columns - Number of Columns

getRows

public int getRows()
Returns the number of Rows

Returns:
integer

setRows

public void setRows(int rows)
Sets the number of Rows

Parameters:
rows - Number of Rows

setReadonly

public void setReadonly(boolean readonly)
Specifies the read only attribute

Parameters:
readonly - true if the textarea should be rendered as read only

isReadonly

public boolean isReadonly()
Returns true if the read only attribute was set

Returns:
True if the read only attribute was set; default is false.

setMaxLength

public void setMaxLength(int maxlength)
Sets the maximal length of the value for the textarea

Parameters:
maxlength - The maximal length of the value for the textarea

getMaxLength

public int getMaxLength()
Returns the maximal length of the value for the textarea

Returns:
The maximal length of the value for the textarea

setWrap

public void setWrap(java.lang.String wrap)
The WRAP attribute can be used to specify how to handle word-wrapping display in text input areas in forms.

Parameters:
wrap - Word Wrapping

getWrap

public java.lang.String getWrap()
The WRAP attribute can be used to specify how to handle word-wrapping display in text input areas in forms.

Returns:
Word Wrapping

setTooltip

public void setTooltip(java.lang.String tooltip)
Sets the optional tooltip text

Specified by:
setTooltip in interface ControlDesignModel
Parameters:
tooltip - Tooltip

getTooltip

public java.lang.String getTooltip()
Retrieves the optional tooltip text

Specified by:
getTooltip in interface ControlDesignModel
Returns:
tooltip text or null

getConverter

public Converter getConverter()
Returns the the Converter that should be used to convert Java Objects into their localized String representation. If no converter is specified the framework will use a default Converter that matches the beans data type

Returns:
Converter or null

setConverter

public void setConverter(Converter converter)
Sets the Converter that should be used to convert Java Objects into their localized String representation. If no converter is specified the framework will use a default Converter that matches the beans data type.

Parameters:
converter - Converters instance


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