Class TextAreaComponent


  • public final class TextAreaComponent
    extends java.lang.Object
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        A unique identifier for the component.
      • getLabel

        public java.util.Optional<java.lang.String> getLabel()
        Returns:
        The text shown above the text area.
      • getPlaceholder

        public java.util.Optional<java.lang.String> getPlaceholder()
        Returns:
        An example value shown inside the component when it's empty.
      • getValue

        public java.util.Optional<java.lang.String> getValue()
        Returns:
        An entered value which is already inside the component.
      • getError

        public java.util.Optional<java.lang.Boolean> getError()
        Returns:
        Styles the input as failed. Default is false.
      • getDisabled

        public java.util.Optional<java.lang.Boolean> getDisabled()
        Returns:
        Styles the input and prevents the action. Default is false.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object