Interface TextControl

All Superinterfaces:
Cloneable, Component, ContentElement, Control, Copyable, DictionaryBean, LifecycleElement, Ordered, org.springframework.core.Ordered, ScriptEventSupport, Serializable, UifDictionaryBean
All Known Implementing Classes:
GroupControl, SpinnerControl, TextControlBase, UserControl

public interface TextControl extends Control
Interface representing a text input control component.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Method Details

    • getSize

      int getSize()
      See Also:
    • setSize

      void setSize(int size)
      See Also:
    • getMaxLength

      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

      void setMaxLength(Integer maxLength)
      See Also:
    • getMinLength

      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

      void setMinLength(Integer minLength)
      See Also:
    • getDatePicker

      DatePicker getDatePicker()
      Renders a calendar that can be used to select a date value for the text control.
      Returns:
      data picker instance
    • setDatePicker

      void setDatePicker(DatePicker datePicker)
      See Also:
    • isTextExpand

      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:
      boolean if control has text expand enabled, false if not
    • setTextExpand

      void setTextExpand(boolean b)
      See Also:
    • getWatermarkText

      String getWatermarkText()
      Gets the watermark text for this TextControl.

      A watermark typically appears as light gray text within the text input element whenever the element is empty and does not have focus. This provides a hint to the user as to what the input is used for, or the type of input that is required.

      Returns:
      the watermarkText
    • setWatermarkText

      void setWatermarkText(String watermark)
      See Also: