Class Ui5TextArea


  • public class Ui5TextArea
    extends Ui5InputFieldBase
    Java wrapper for UI5 web component ui5-textarea
    • Constructor Detail

      • Ui5TextArea

        public Ui5TextArea()
        default constructor
    • Method Detail

      • showExceededText

        public void showExceededText​(boolean showExceededText)
        Determines whether the characters exceeding the maximum allowed character count are visible in the ui5-textarea.

        If set to false, the user is not allowed to enter more characters than what is set in the maxlength property. If set to true the characters exceeding the maxlength value are selected on paste and the counter below the ui5-textarea displays their number.

        Parameters:
        showExceededText - flag
      • setGrowing

        public void setGrowing​(boolean growing)
        Enables the ui5-textarea to automatically grow and shrink dynamically with its content.
        Parameters:
        growing - flag
      • setGrowingMaxLines

        public void setGrowingMaxLines​(int maxLines)
        sets the number of rows up to it can grow in total
        Parameters:
        maxLines - numbers of rows in total
      • setMaxLength

        public void setMaxLength​(int maxLength)
        Defines the maximum number of characters that the value can have.
        Parameters:
        maxLength - number of charcters
      • setRows

        public void setRows​(int numberRows)
        Defines the number of visible text lines for the component.
        Parameters:
        numberRows - number of rows