Class VTextArea

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.component.textfield.GeneratedVaadinTextArea

        com.vaadin.flow.component.textfield.GeneratedVaadinTextArea.ChangeEvent<R extends com.vaadin.flow.component.textfield.GeneratedVaadinTextArea<R,​?>>, com.vaadin.flow.component.textfield.GeneratedVaadinTextArea.InvalidChangeEvent<R extends com.vaadin.flow.component.textfield.GeneratedVaadinTextArea<R,​?>>
      • Nested classes/interfaces inherited from class com.vaadin.flow.component.AbstractField

        com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,​V extends Object>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier

        com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier

        com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue

        com.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
    • Field Summary

      • Fields inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalize

        AUTOCAPITALIZE_ATTRIBUTE
      • Fields inherited from interface com.vaadin.flow.component.textfield.HasAutocomplete

        AUTOCOMPLETE_ATTRIBUTE
      • Fields inherited from interface com.vaadin.flow.component.textfield.HasAutocorrect

        AUTOCORRECT_ATTRIBUTE
      • Fields inherited from interface com.vaadin.flow.data.value.HasValueChangeMode

        DEFAULT_CHANGE_TIMEOUT
    • Constructor Summary

      Constructors 
      Constructor Description
      VTextArea()  
      VTextArea​(com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,​String>> listener)  
      VTextArea​(String label)  
      VTextArea​(String label, com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,​String>> listener)  
      VTextArea​(String label, String placeholder)  
      VTextArea​(String label, String initialValue, com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,​String>> listener)  
      VTextArea​(String label, String initialValue, String placeholder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setValue​(String value)  
      VTextArea withMaxLength​(int maxLength)  
      VTextArea withMinLength​(int minLength)  
      VTextArea withPlaceholder​(String placeholder)  
      VTextArea withRequired​(boolean required)  
      • Methods inherited from class com.vaadin.flow.component.textfield.TextArea

        getEmptyValue, getErrorMessage, getLabel, getMaxLength, getMinLength, getPlaceholder, getValue, getValueChangeMode, getValueChangeTimeout, isAutofocus, isAutoselect, isClearButtonVisible, isInvalid, isPreventInvalidInput, isRequired, onAttach, setAutofocus, setAutoselect, setClearButtonVisible, setErrorMessage, setInvalid, setLabel, setMaxLength, setMinLength, setPlaceholder, setPreventInvalidInput, setRequired, setRequiredIndicatorVisible, setValueChangeMode, setValueChangeTimeout, validate
      • Methods inherited from class com.vaadin.flow.component.textfield.GeneratedVaadinTextArea

        addChangeListener, addInvalidChangeListener, addThemeVariants, addToPrefix, addToSuffix, addToTextarea, checkValidity, getAutocapitalizeString, getAutocompleteString, getAutocorrectString, getErrorMessageString, getLabelString, getMaxlengthDouble, getMinlengthDouble, getNameString, getPlaceholderString, isAutofocusBoolean, isAutoselectBoolean, isClearButtonVisibleBoolean, isDisabledBoolean, isInvalidBoolean, isPreventInvalidInputBoolean, isReadonlyBoolean, isRequiredBoolean, remove, removeAll, removeThemeVariants, setAutocapitalize, setAutocomplete, setAutocorrect, setDisabled, setMaxlength, setMinlength, setName, setReadonly
      • Methods inherited from class com.vaadin.flow.component.AbstractSinglePropertyField

        getSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEvent
      • Methods inherited from class com.vaadin.flow.component.AbstractField

        addValueChangeListener, isEmpty, setModelValue, valueEquals
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.BlurNotifier

        addBlurListener
      • Methods inherited from interface com.vaadin.flow.component.CompositionNotifier

        addCompositionEndListener, addCompositionStartListener, addCompositionUpdateListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.Focusable

        addFocusShortcut, blur, focus, getTabIndex, setTabIndex
      • Methods inherited from interface com.vaadin.flow.component.FocusNotifier

        addFocusListener
      • Methods inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalize

        getAutocapitalize, setAutocapitalize
      • Methods inherited from interface com.vaadin.flow.component.textfield.HasAutocomplete

        getAutocomplete, setAutocomplete
      • Methods inherited from interface com.vaadin.flow.component.textfield.HasAutocorrect

        isAutocorrect, setAutocorrect
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • Methods inherited from interface com.vaadin.flow.component.HasHelper

        getHelperComponent, getHelperText, setHelperComponent, setHelperText
      • Methods inherited from interface com.vaadin.flow.component.textfield.HasPrefixAndSuffix

        getPrefixComponent, getSuffixComponent, setPrefixComponent, setSuffixComponent
      • Methods inherited from interface com.vaadin.flow.component.HasSize

        getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.HasTheme

        addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
      • Methods inherited from interface com.vaadin.flow.component.HasValidation

        getErrorMessage, isInvalid, setErrorMessage, setInvalid
      • Methods inherited from interface com.vaadin.flow.component.HasValue

        addValueChangeListener, clear, getEmptyValue, getOptionalValue, getValue, isEmpty
      • Methods inherited from interface com.vaadin.flow.component.HasValueAndElement

        isReadOnly, isRequiredIndicatorVisible, setReadOnly
      • Methods inherited from interface com.vaadin.flow.component.InputNotifier

        addInputListener
      • Methods inherited from interface com.vaadin.flow.component.KeyNotifier

        addKeyDownListener, addKeyDownListener, addKeyPressListener, addKeyPressListener, addKeyUpListener, addKeyUpListener
    • Constructor Detail

      • VTextArea

        public VTextArea()
      • VTextArea

        public VTextArea​(String label)
      • VTextArea

        public VTextArea​(String label,
                         String placeholder)
      • VTextArea

        public VTextArea​(String label,
                         String initialValue,
                         String placeholder)
      • VTextArea

        public VTextArea​(com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,​String>> listener)
      • VTextArea

        public VTextArea​(String label,
                         com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,​String>> listener)
      • VTextArea

        public VTextArea​(String label,
                         String initialValue,
                         com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,​String>> listener)
    • Method Detail

      • withRequired

        public VTextArea withRequired​(boolean required)
      • withPlaceholder

        public VTextArea withPlaceholder​(String placeholder)
      • setValue

        public void setValue​(String value)
        Specified by:
        setValue in interface com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,​String>,​String>
        Overrides:
        setValue in class com.vaadin.flow.component.textfield.TextArea
      • withMaxLength

        public VTextArea withMaxLength​(int maxLength)
      • withMinLength

        public VTextArea withMinLength​(int minLength)