|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ClientHandlerImp com.cc.framework.ui.model.imp.ControlDesignModelImp com.cc.framework.ui.model.imp.TextareaDesignModelImp
Designmodel for TextAreas
Field Summary | |
private int |
columns
The number of columns |
private Converter |
converter
The converter that should be used to convert Java Objects into their localized String representation. |
private int |
maxlength
The maximal length for the value within this textare |
private boolean |
readonly
readonly attribute |
private int |
rows
The number of rows |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
wrap
The WRAP attribute can be used to specify how to handle word-wrapping display in text input areas in forms. |
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
TextareaDesignModelImp()
Constructor for TextareaDesignModelImp |
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 |
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 |
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 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.TextareaDesignModel |
getTooltip, setTooltip |
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 |
Field Detail |
private static final long serialVersionUID
private Converter converter
private int rows
private int columns
private boolean readonly
private int maxlength
private java.lang.String wrap
Constructor Detail |
public TextareaDesignModelImp()
Method Detail |
public int getColumns()
TextareaDesignModel
getColumns
in interface TextareaDesignModel
TextareaDesignModel.getColumns()
public int getRows()
TextareaDesignModel
getRows
in interface TextareaDesignModel
TextareaDesignModel.getRows()
public void setColumns(int columns)
TextareaDesignModel
setColumns
in interface TextareaDesignModel
columns
- Number of ColumnsTextareaDesignModel.setColumns(int)
public void setRows(int rows)
TextareaDesignModel
setRows
in interface TextareaDesignModel
rows
- Number of RowsTextareaDesignModel.setRows(int)
public boolean isReadonly()
TextareaDesignModel
isReadonly
in interface TextareaDesignModel
TextareaDesignModel.isReadonly()
public void setReadonly(boolean readonly)
TextareaDesignModel
setReadonly
in interface TextareaDesignModel
readonly
- true
if the textarea should be rendered as read
onlyTextareaDesignModel.setReadonly(boolean)
public int getMaxLength()
TextareaDesignModel
getMaxLength
in interface TextareaDesignModel
TextareaDesignModel.getMaxLength()
public void setMaxLength(int maxlength)
TextareaDesignModel
setMaxLength
in interface TextareaDesignModel
maxlength
- The maximal length of the value for the textareaTextareaDesignModel.setMaxLength(int)
public java.lang.String getWrap()
TextareaDesignModel
getWrap
in interface TextareaDesignModel
TextareaDesignModel.getWrap()
public void setWrap(java.lang.String wrap)
TextareaDesignModel
setWrap
in interface TextareaDesignModel
wrap
- Word WrappingTextareaDesignModel.setWrap(java.lang.String)
public Converter getConverter()
TextareaDesignModel
getConverter
in interface TextareaDesignModel
null
See Also:TextareaDesignModel.getConverter()
public void setConverter(Converter converter)
TextareaDesignModel
setConverter
in interface TextareaDesignModel
converter
- Converters instanceTextareaDesignModel.setConverter(com.cc.framework.convert.Converter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |