|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.control.Control com.cc.framework.ui.control.TextareaControl
TextareaControl
Field Summary | |
private TextareaDesignModel |
designModel
Designmodel |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.Object |
value
Value |
Fields inherited from class com.cc.framework.ui.control.Control |
log |
Fields inherited from interface com.cc.framework.ui.model.StateModel |
PROP_CONTROL |
Constructor Summary | |
TextareaControl()
Constructor |
|
TextareaControl(TextareaDesignModel designModel)
Constructor |
Method Summary | |
int |
getColumns()
Returns the Number of Rows |
Converter |
getConverter()
Returns the the Converter that should be used to convert Java Objects into their localized String representation. |
DataModel |
getDataModel()
Returns the data model of the Control |
ControlDesignModel |
getDesignModel()
Returns the design model of the control |
int |
getMaxLength()
Returns maximal length for the input value |
int |
getRows()
Returns the Number of Columns |
StateModel |
getStateModel()
Returns the state model of the control |
java.lang.Object |
getValue()
Returns the value |
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 the read only flag |
void |
reset()
Resets the actual state of a control to the initial state |
void |
setDesignModel(TextareaDesignModel designModel)
Sets the design model |
void |
setValue(java.lang.Object value)
Sets the Value |
void |
setValue(RequestContext ctx,
ControlValuePath path,
java.lang.String[] values)
This method is called to set the value of the data model |
Methods inherited from class com.cc.framework.ui.control.Control |
addButton, allowAjaxRendering, execute, execute, execute, execute, execute, execute, execute, getAction, getAjaxId, getButtons, getControlName, getDesignRules, getFrameworkString, getHandler, getHandlers, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getPrincipal, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getUniqueStyleId, getWidth, isAjaxEnabled, isDisabled, isFormElement, markDirty, onHelp, setAjaxAttribute, setHandler, setPrincipal, show, showButton, synchronizeState, synchronizeState |
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.StateModel |
synchronizeState |
Field Detail |
private static final long serialVersionUID
private TextareaDesignModel designModel
private java.lang.Object value
Constructor Detail |
public TextareaControl()
public TextareaControl(TextareaDesignModel designModel)
designModel
- TextareaDesignModelMethod Detail |
public void setDesignModel(TextareaDesignModel designModel)
designModel
- The design modelpublic DataModel getDataModel()
Control
getDataModel
in class Control
Control.getDataModel()
public ControlDesignModel getDesignModel()
Control
getDesignModel
in class Control
Control.getDesignModel()
public StateModel getStateModel()
Control
getStateModel
in class Control
Control.getStateModel()
public void reset()
StateModel
reset
in interface StateModel
StateModel.reset()
public int getColumns()
public int getRows()
public java.lang.String getWrap()
public int getMaxLength()
public boolean isReadonly()
public java.lang.Object getValue()
getValue
in interface TextareaDataModel
public void setValue(RequestContext ctx, ControlValuePath path, java.lang.String[] values) throws java.lang.Exception
Control
setValue
in class Control
ctx
- The Action Contextpath
- Path Name of the input elementvalues
- the values to set
java.lang.Exception
- a derived class can throw an exception if the value could not
be setControl.setValue(com.cc.framework.adapter.RequestContext, com.cc.framework.ui.control.ControlValuePath, java.lang.String[])
public void setValue(java.lang.Object value)
TextareaDataModel
setValue
in interface TextareaDataModel
value
- The valueTextareaDataModel.setValue(java.lang.Object)
public Converter getConverter()
null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |