Class TextAreaControl

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, Component, Ordered, ScriptEventSupport, Control, ContentElement, LifecycleElement, 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:
  • Constructor Details

    • TextAreaControl

      public TextAreaControl()
  • Method Details

    • performFinalize

      public void performFinalize(Object model, LifecycleElement parent)
      The following actions are performed:
      • Defaults maxLength, minLength (if not set) to maxLength of parent field
      Parses the disabled expressions, if any, to equivalent javascript and evaluates the disable/enable when changed property names.
      Specified by:
      performFinalize in interface LifecycleElement
      Overrides:
      performFinalize in class ControlBase
      Parameters:
      model - top level object containing the data
      parent - parent component
    • getRows

      public int getRows()
      Number of rows the control should span (horizontal length)
      Returns:
      number of rows
    • setRows

      public void setRows(int rows)
      Setter for the number of rows the control should span (horizontal length)
      Parameters:
      rows -
    • getCols

      public int getCols()
      Number of columns the control should span (vertical length)
      Returns:
      number of columns
    • setCols

      public void setCols(int cols)
      Setter for the number of columns the control should span (vertical length)
      Parameters:
      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:
      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:
      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