org.kuali.rice.krad.uif.control
Class TextAreaControl
java.lang.Object
org.kuali.rice.krad.uif.component.ConfigurableBase
org.kuali.rice.krad.uif.component.ComponentBase
org.kuali.rice.krad.uif.control.ControlBase
org.kuali.rice.krad.uif.control.TextAreaControl
- All Implemented Interfaces:
- Serializable, Component, Configurable, ScriptEventSupport, Control, org.springframework.core.Ordered
public class TextAreaControl
- extends ControlBase
Represents a HTML TextArea control. Generally used for values that are very
large (such as a description)
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Method Summary |
int |
getCols()
Number of columns the control should span (vertical length) |
Integer |
getMaxLength()
Maximum number of characters that can be inputted |
Integer |
getMinLength()
Minimum number of characters that can be inputted |
int |
getRows()
Number of rows the control should span (horizontal length) |
String |
getWatermarkText()
|
boolean |
isTextExpand()
If set to true, this control will have a button which can be clicked to expand the text area through
a popup window so the user has more space to type and see the data they are entering in this text field |
void |
performFinalize(View view,
Object model,
Component parent)
The following actions are performed:
Defaults maxLength, minLength (if not set) to maxLength of parent field
|
void |
setCols(int cols)
|
void |
setMaxLength(Integer maxLength)
Setter for the max number of input characters |
void |
setMinLength(Integer minLength)
Setter for the min number of input characters |
void |
setRows(int rows)
|
void |
setTextExpand(boolean textExpand)
Setter for the text expand flag |
void |
setWatermarkText(String watermarkText)
|
Methods inherited from class org.kuali.rice.krad.uif.control.ControlBase |
getComponentTypeName, getDisabledReason, getSupportsOnBlur, getSupportsOnChange, getSupportsOnClick, getSupportsOnDblClick, getSupportsOnFocus, getTabIndex, isDisabled, setDisabled, setDisabledReason, setTabIndex |
Methods inherited from class org.kuali.rice.krad.uif.component.ComponentBase |
addStyleClass, appendToStyle, getAlign, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getComponentPrototypes, getComponentSecurity, getComponentSecurityClass, getComponentsForLifecycle, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getEventCode, getFactoryId, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getOrder, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshDiscloseMethodToCall, getRefreshWhenChanged, getRefreshWhenChangedControlNames, getRenderOutput, getRequired, getRowSpan, getStyle, getStyleClasses, getStyleClassesAsString, getSupportsOnClose, getSupportsOnDocumentReady, getSupportsOnKeyDown, getSupportsOnKeyPress, getSupportsOnKeyUp, getSupportsOnLoad, getSupportsOnMouseDown, getSupportsOnMouseMove, getSupportsOnMouseOut, getSupportsOnMouseOver, getSupportsOnMouseUp, getSupportsOnSubmit, getSupportsOnUnload, getTemplate, getTitle, getValign, getWidth, isHidden, isPersistInSession, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRefreshedByAction, isRender, isResetDataOnRefresh, isSelfRendered, isSkipInTabOrder, performApplyModel, performInitialization, pushAllToContext, pushObjectToContext, pushToPropertyReplacerContext, setAlign, setColSpan, setComponentModifiers, setComponentOptions, setComponentOptionsJSString, setComponentSecurity, setConditionalRefresh, setContext, setFactoryId, setFinalizeMethodAdditionalArguments, setFinalizeMethodInvoker, setFinalizeMethodToCall, setHidden, setId, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript, setOrder, setPersistInSession, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefresh, setRefreshDiscloseMethodToCall, setRefreshedByAction, setRefreshWhenChanged, setRender, setRenderOutput, setRequired, setResetDataOnRefresh, setRowSpan, setSelfRendered, setSkipInTabOrder, setStyle, setStyleClasses, setTemplate, setTitle, setValign, setWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.uif.component.Component |
addStyleClass, appendToStyle, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getComponentPrototypes, getComponentSecurity, getComponentsForLifecycle, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getFactoryId, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getOrder, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshWhenChanged, getRefreshWhenChangedControlNames, getRenderOutput, getRequired, getRowSpan, getStyle, getStyleClasses, getTemplate, getTitle, isHidden, isPersistInSession, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRefreshedByAction, isRender, isResetDataOnRefresh, isSelfRendered, performApplyModel, performInitialization, pushAllToContext, pushObjectToContext, setColSpan, setComponentModifiers, setComponentOptions, setComponentOptionsJSString, setComponentSecurity, setConditionalRefresh, setContext, setFactoryId, setHidden, setId, setOrder, setPersistInSession, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefresh, setRefreshedByAction, setRefreshWhenChanged, setRender, setRenderOutput, setRequired, setResetDataOnRefresh, setRowSpan, setSelfRendered, setStyle, setStyleClasses, setTemplate, setTitle |
Methods inherited from interface org.kuali.rice.krad.uif.component.ScriptEventSupport |
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getSupportsOnClose, getSupportsOnDocumentReady, getSupportsOnKeyDown, getSupportsOnKeyPress, getSupportsOnKeyUp, getSupportsOnLoad, getSupportsOnMouseDown, getSupportsOnMouseMove, getSupportsOnMouseOut, getSupportsOnMouseOver, getSupportsOnMouseUp, getSupportsOnSubmit, getSupportsOnUnload, setOnBlurScript, setOnDocumentReadyScript, setOnLoadScript |
TextAreaControl
public TextAreaControl()
performFinalize
public void performFinalize(View view,
Object model,
Component parent)
- The following actions are performed:
- Defaults maxLength, minLength (if not set) to maxLength of parent field
- Specified by:
performFinalize
in interface Component
- Overrides:
performFinalize
in class ComponentBase
- Parameters:
view
- - view instance that should be finalized for renderingmodel
- - top level object containing the dataparent
- - parent component- See Also:
ComponentBase.performFinalize(org.kuali.rice.krad.uif.view.View,
java.lang.Object, org.kuali.rice.krad.uif.component.Component)
getRows
public int getRows()
- Number of rows the control should span (horizontal length)
- Returns:
- int number of rows
setRows
public void setRows(int rows)
getCols
public int getCols()
- Number of columns the control should span (vertical length)
- Returns:
- int number of columns
setCols
public void setCols(int cols)
getMaxLength
public Integer getMaxLength()
- Maximum number of characters that can be inputted
If not set on control, max length of field will be used
- Returns:
- int max number of characters
setMaxLength
public void setMaxLength(Integer maxLength)
- Setter for the max number of input characters
- Parameters:
maxLength
-
getMinLength
public Integer getMinLength()
- Minimum number of characters that can be inputted
If not set on control, min length of field will be used
- Returns:
- int max number of characters
setMinLength
public void setMinLength(Integer minLength)
- Setter for the min number of input characters
- Parameters:
minLength
-
getWatermarkText
public String getWatermarkText()
- Returns:
- the watermarkText
setWatermarkText
public void setWatermarkText(String watermarkText)
- Parameters:
watermarkText
- the watermarkText to set
isTextExpand
public boolean isTextExpand()
- If set to true, this control will have a button which can be clicked to expand the text area through
a popup window so the user has more space to type and see the data they are entering in this text field
- Returns:
- the textExpand
setTextExpand
public void setTextExpand(boolean textExpand)
- Setter for the text expand flag
- Parameters:
textExpand
- the textExpand to set
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.