Class SuperTextArea

    • 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
      SuperTextArea()  
      SuperTextArea​(com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,​String>> listener)  
      SuperTextArea​(String label)  
      SuperTextArea​(String label, com.vaadin.flow.component.HasValue.ValueChangeListener<? super com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,​String>> listener)  
      SuperTextArea​(String label, String placeholder)  
      SuperTextArea​(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)  
      SuperTextArea​(String label, String initialValue, String placeholder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.vaadin.flow.shared.Registration addTextSelectionListener​(TextSelectionListener<SuperTextArea> listener)
      Adds the listener.
      boolean isClearButtonVisible()  
      boolean isReceivingSelectionEventsFromClient()
      Check if client will inform server on selection change.
      void modifyText​(String replacement, int from, int to)
      Modifies the text at given coordinates.
      protected void onAttach​(com.vaadin.flow.component.AttachEvent attachEvent)  
      protected void onDetach​(com.vaadin.flow.component.DetachEvent detachEvent)  
      void select​(int from, int to)
      Selects text starting from index from (inclusive) and ending at index to (exclusive).
      void selectAll()
      Selects entire text in the component.
      void selectNone()
      Removes the current selection and selects no text.
      void setClearButtonVisible​(boolean clearButtonVisible)  
      void setReceivingSelectionEventsFromClient​(boolean receivingSelectionEventsFromClient)
      Configures sending events by the client-side component.
      • Methods inherited from class com.vaadin.flow.component.textfield.TextArea

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

        addChangeListener, addInvalidChangeListener, addToPrefix, addToSuffix, addToTextarea, checkValidity, getAutocapitalizeString, getAutocompleteString, getAutocorrectString, getErrorMessageString, getLabelString, getMaxlengthDouble, getMinlengthDouble, getNameString, getPlaceholderString, isAutofocusBoolean, isAutoselectBoolean, isDisabledBoolean, isInvalidBoolean, isPreventInvalidInputBoolean, isReadonlyBoolean, isRequiredBoolean, remove, removeAll, 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, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, scrollIntoView, 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.shared.HasAllowedCharPattern

        getAllowedCharPattern, setAllowedCharPattern
      • 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.HasLabel

        getLabel, setLabel
      • 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.shared.HasTooltip

        getTooltip, setTooltipText
      • Methods inherited from interface com.vaadin.flow.data.binder.HasValidator

        addValidationStatusChangeListener
      • Methods inherited from interface com.vaadin.flow.component.HasValue

        addValueChangeListener, clear, getEmptyValue, getOptionalValue, getValue, isEmpty, setValue
      • 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

      • SuperTextArea

        public SuperTextArea()
      • SuperTextArea

        public SuperTextArea​(String label)
      • SuperTextArea

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

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

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

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

        public SuperTextArea​(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

      • onAttach

        protected void onAttach​(com.vaadin.flow.component.AttachEvent attachEvent)
        Overrides:
        onAttach in class com.vaadin.flow.component.textfield.TextArea
      • onDetach

        protected void onDetach​(com.vaadin.flow.component.DetachEvent detachEvent)
        Overrides:
        onDetach in class com.vaadin.flow.component.Component
      • setReceivingSelectionEventsFromClient

        public void setReceivingSelectionEventsFromClient​(boolean receivingSelectionEventsFromClient)
        Description copied from interface: CanReceiveSelectionEventsFromClient
        Configures sending events by the client-side component. Note: this feature is by default turned off.
        Specified by:
        setReceivingSelectionEventsFromClient in interface CanReceiveSelectionEventsFromClient
        Parameters:
        receivingSelectionEventsFromClient - When false, selecting text in client-side component will not send an event to server-side component. When true, it will.
      • selectAll

        public void selectAll()
        Description copied from interface: CanSelectText
        Selects entire text in the component.
        Specified by:
        selectAll in interface CanSelectText
      • selectNone

        public void selectNone()
        Description copied from interface: CanSelectText
        Removes the current selection and selects no text.
        Specified by:
        selectNone in interface CanSelectText
      • select

        public void select​(int from,
                           int to)
        Description copied from interface: CanSelectText
        Selects text starting from index from (inclusive) and ending at index to (exclusive).
        Specified by:
        select in interface CanSelectText
        Parameters:
        from - Starting index (inclusive).
        to - Ending index (exclusive).
      • modifyText

        public void modifyText​(String replacement,
                               int from,
                               int to)
        Description copied from interface: CanModifyText
        Modifies the text at given coordinates.
        Specified by:
        modifyText in interface CanModifyText
        Parameters:
        replacement - Text to put.
        from - The starting index of what to replace.
        to - The end index of what to replace.
      • setClearButtonVisible

        public void setClearButtonVisible​(boolean clearButtonVisible)
        Specified by:
        setClearButtonVisible in interface com.vaadin.flow.component.shared.HasClearButton
      • isClearButtonVisible

        public boolean isClearButtonVisible()
        Specified by:
        isClearButtonVisible in interface com.vaadin.flow.component.shared.HasClearButton