Interface TextArea<V>

Type Parameters:
V - type of value
All Superinterfaces:
Buffered, Component, Component.BelongToFrame, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Field<V>, HasContextHelp, HasConversionErrorMessage, HasDatatype<V>, HasHtmlCaption, HasHtmlDescription, HasHtmlSanitizer, HasInputPrompt, HasValidator<V>, HasValue<V>, HasValueSource<V>, Requirable, TextInputField<V>, TextInputField.CaseConversionSupported, TextInputField.CursorPositionSupported, TextInputField.MaxLengthLimited, TextInputField.TextChangeNotifier, TextInputField.TextSelectionSupported, TextInputField.TrimSupported, Validatable
All Known Subinterfaces:
ResizableTextArea<V>
All Known Implementing Classes:
AbstractTextArea, ResizableTextAreaImpl, TextAreaImpl

A text field that supports multi line editing.
  • Field Details

    • NAME

      static final String NAME
      See Also:
    • TYPE_DEFAULT

      static final org.springframework.core.ParameterizedTypeReference<TextArea<String>> TYPE_DEFAULT
    • TYPE_STRING

      static final org.springframework.core.ParameterizedTypeReference<TextArea<String>> TYPE_STRING
    • TYPE_INTEGER

      static final org.springframework.core.ParameterizedTypeReference<TextArea<Integer>> TYPE_INTEGER
    • TYPE_LONG

      static final org.springframework.core.ParameterizedTypeReference<TextArea<Long>> TYPE_LONG
    • TYPE_DOUBLE

      static final org.springframework.core.ParameterizedTypeReference<TextArea<Double>> TYPE_DOUBLE
    • TYPE_BIGDECIMAL

      static final org.springframework.core.ParameterizedTypeReference<TextArea<BigDecimal>> TYPE_BIGDECIMAL
    • TYPE_DATE

      static final org.springframework.core.ParameterizedTypeReference<TextArea<Date>> TYPE_DATE
    • TYPE_DATETIME

      static final org.springframework.core.ParameterizedTypeReference<TextArea<Date>> TYPE_DATETIME
    • TYPE_LOCALDATE

      static final org.springframework.core.ParameterizedTypeReference<TextArea<LocalDate>> TYPE_LOCALDATE
    • TYPE_LOCALDATETIME

      static final org.springframework.core.ParameterizedTypeReference<TextArea<LocalDateTime>> TYPE_LOCALDATETIME
    • TYPE_TIME

      static final org.springframework.core.ParameterizedTypeReference<TextArea<Time>> TYPE_TIME
    • TYPE_OFFSETTIME

      static final org.springframework.core.ParameterizedTypeReference<TextArea<OffsetTime>> TYPE_OFFSETTIME
  • Method Details

    • getRows

      int getRows()
      Returns:
      the number of rows
    • setRows

      @StudioProperty(defaultValue="5") void setRows(int rows)
      Sets the number of rows in the text area.
      Parameters:
      rows - the number of rows
    • isWordWrap

      boolean isWordWrap()
      Returns:
      whether word wrapping is enabled or not
    • setWordWrap

      @StudioProperty(defaultValue="true") void setWordWrap(boolean wordWrap)
      Sets whether word wrapping is enabled or not.
      Parameters:
      wordWrap - wordWrap
    • getRawValue

      String getRawValue()
      Returns a string representation of the value.