com.vaadin.flow.component.textfield.
Class GeneratedVaadinTextArea<R extends GeneratedVaadinTextArea<R,T>,T>
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.AbstractField<C,T>
-
- com.vaadin.flow.component.AbstractSinglePropertyField<R,T>
-
- com.vaadin.flow.component.textfield.GeneratedVaadinTextArea<R,T>
-
All Implemented Interfaces:
AttachNotifier
,BlurNotifier<R>
,DetachNotifier
,Focusable<R>
,FocusNotifier<R>
,HasElement
,HasEnabled
,HasStyle
,HasValue<AbstractField.ComponentValueChangeEvent<R,T>,T>
,HasValueAndElement<AbstractField.ComponentValueChangeEvent<R,T>,T>
,Serializable
Direct Known Subclasses:
@Deprecated @Tag("vaadin-text-area") @NpmPackage(value="@vaadin/polymer-legacy-adapter",version="23.5.12") @NpmPackage(value="@vaadin/text-area",version="23.5.12") @NpmPackage(value="@vaadin/vaadin-text-field",version="23.5.12") @JsModule("@vaadin/polymer-legacy-adapter/style-modules.js") @JsModule("@vaadin/text-area/src/vaadin-text-area.js") public abstract class GeneratedVaadinTextArea<R extends GeneratedVaadinTextArea<R,T>,T> extends AbstractSinglePropertyField<R,T> implements HasStyle, Focusable<R>
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
<vaadin-text-area>
is a Web Component for text area control in forms.<vaadin-text-area label="Add description"> </vaadin-text-area>
Prefixes and suffixes
These are child elements of a
<vaadin-text-area>
that are displayed inline with the input, before or after. In order for an element to be considered as a prefix, it must have the slot attribute set toprefix
(and similarly forsuffix
).<vaadin-text-area label="Add description"> <div slot="prefix">Details:</div> <div slot="suffix">The end!</div> </vaadin-text-area>
Styling
The following shadow DOM parts are available for styling:
Part name Description label
The label element input-field
The element that wraps prefix, value and suffix value
The text value element inside the input-field
elementerror-message
The error message element The following state attributes are available for styling:
Attribute Description Part name disabled
Set to a disabled text field :host has-value
Set when the element has a value :host has-label
Set when the element has a label :host invalid
Set when the element is invalid :host focused
Set when the element is focused :host focus-ring
Set when the element is keyboard focused :host readonly
Set to a readonly text field :host See ThemableMixin ? how to apply styles for shadow parts
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeneratedVaadinTextArea.ChangeEvent<R extends GeneratedVaadinTextArea<R,?>>
Deprecated.
since v23.3, generated classes will be removed in v24.static class
GeneratedVaadinTextArea.InvalidChangeEvent<R extends GeneratedVaadinTextArea<R,?>>
Deprecated.
since v23.3, generated classes will be removed in v24.-
Nested classes/interfaces inherited from class com.vaadin.flow.component.AbstractField
AbstractField.ComponentValueChangeEvent<C extends Component,V>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
BlurNotifier.BlurEvent<C extends Component>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier
FocusNotifier.FocusEvent<C extends Component>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue
HasValue.ValueChangeEvent<V>, HasValue.ValueChangeListener<E extends HasValue.ValueChangeEvent<?>>
-
-
Constructor Summary
Constructors Constructor Description GeneratedVaadinTextArea()
Deprecated.
since v23.3, generated classes will be removed in v24.GeneratedVaadinTextArea(T initialValue, T defaultValue, boolean acceptNullValues)
Deprecated.
since v23.3, generated classes will be removed in v24.GeneratedVaadinTextArea(T initialValue, T defaultValue, boolean acceptNullValues, boolean isInitialValueOptional)
Deprecated.
since v23.3, generated classes will be removed in v24.GeneratedVaadinTextArea(T initialValue, T defaultValue, Class<P> elementPropertyType, SerializableBiFunction<R,P,T> presentationToModel, SerializableBiFunction<R,T,P> modelToPresentation)
Deprecated.
since v23.3, generated classes will be removed in v24.GeneratedVaadinTextArea(T initialValue, T defaultValue, Class<P> elementPropertyType, SerializableFunction<P,T> presentationToModel, SerializableFunction<T,P> modelToPresentation)
Deprecated.
since v23.3, generated classes will be removed in v24.
-
Method Summary
All Methods Modifier and Type Method Description protected Registration
addChangeListener(ComponentEventListener<GeneratedVaadinTextArea.ChangeEvent<R>> listener)
Deprecated.
since v23.3, generated classes will be removed in v24.protected Registration
addInvalidChangeListener(ComponentEventListener<GeneratedVaadinTextArea.InvalidChangeEvent<R>> listener)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
addToPrefix(Component... components)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
addToSuffix(Component... components)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
addToTextarea(Component... components)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
checkValidity()
Deprecated.
since v23.3, generated classes will be removed in v24.protected String
getAutocapitalizeString()
Deprecated.
since v23.3, generated classes will be removed in v24.protected String
getAutocompleteString()
Deprecated.
since v23.3, generated classes will be removed in v24.protected String
getAutocorrectString()
Deprecated.
since v23.3, generated classes will be removed in v24.protected String
getErrorMessageString()
Deprecated.
since v23.3, generated classes will be removed in v24.protected String
getLabelString()
Deprecated.
since v23.3, generated classes will be removed in v24.protected double
getMaxlengthDouble()
Deprecated.
since v23.3, generated classes will be removed in v24.protected double
getMinlengthDouble()
Deprecated.
since v23.3, generated classes will be removed in v24.protected String
getNameString()
Deprecated.
since v23.3, generated classes will be removed in v24.protected String
getPlaceholderString()
Deprecated.
since v23.3, generated classes will be removed in v24.protected boolean
isAutofocusBoolean()
Deprecated.
since v23.3, generated classes will be removed in v24.protected boolean
isAutoselectBoolean()
Deprecated.
since v23.3, generated classes will be removed in v24.protected boolean
isDisabledBoolean()
Deprecated.
since v23.3, generated classes will be removed in v24.protected boolean
isInvalidBoolean()
Deprecated.
since v23.3, generated classes will be removed in v24.protected boolean
isPreventInvalidInputBoolean()
Deprecated.
Since 23.2, this API is deprecated.protected boolean
isReadonlyBoolean()
Deprecated.
since v23.3, generated classes will be removed in v24.protected boolean
isRequiredBoolean()
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
remove(Component... components)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
removeAll()
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setAutocapitalize(String autocapitalize)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setAutocomplete(String autocomplete)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setAutocorrect(String autocorrect)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setAutofocus(boolean autofocus)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setAutoselect(boolean autoselect)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setDisabled(boolean disabled)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setErrorMessage(String errorMessage)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setInvalid(boolean invalid)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setLabel(String label)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setMaxlength(double maxlength)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setMinlength(double minlength)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setName(String name)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setPlaceholder(String placeholder)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setPreventInvalidInput(boolean preventInvalidInput)
Deprecated.
Since 23.2, this API is deprecated.protected void
setReadonly(boolean readonly)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
setRequired(boolean required)
Deprecated.
since v23.3, generated classes will be removed in v24.protected void
validate()
Deprecated.
since v23.3, generated classes will be removed in v24.-
Methods inherited from class com.vaadin.flow.component.AbstractSinglePropertyField
getSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEvent
-
Methods inherited from class com.vaadin.flow.component.AbstractField
addValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValue, setValue, 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, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.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.HasElement
getElement
-
Methods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled
-
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.HasValue
clear, getOptionalValue
-
Methods inherited from interface com.vaadin.flow.component.HasValueAndElement
isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible
-
-
-
-
Constructor Detail
-
GeneratedVaadinTextArea
@Deprecated public GeneratedVaadinTextArea(T initialValue, T defaultValue, Class<P> elementPropertyType, SerializableFunction<P,T> presentationToModel, SerializableFunction<T,P> modelToPresentation)
Deprecated.since v23.3, generated classes will be removed in v24.Constructs a new GeneratedVaadinTextArea component with the given arguments.
Type Parameters:
P
- the property typeParameters:
initialValue
- the initial value to set to the valuedefaultValue
- the default value to use if the value isn't definedelementPropertyType
- the type of the element propertypresentationToModel
- a function that converts a string value to a model valuemodelToPresentation
- a function that converts a model value to a string value
-
GeneratedVaadinTextArea
@Deprecated public GeneratedVaadinTextArea(T initialValue, T defaultValue, boolean acceptNullValues)
Deprecated.since v23.3, generated classes will be removed in v24.Constructs a new GeneratedVaadinTextArea component with the given arguments.
Parameters:
initialValue
- the initial value to set to the valuedefaultValue
- the default value to use if the value isn't definedacceptNullValues
- whethernull
is accepted as a model value
-
GeneratedVaadinTextArea
@Deprecated public GeneratedVaadinTextArea(T initialValue, T defaultValue, boolean acceptNullValues, boolean isInitialValueOptional)
Deprecated.since v23.3, generated classes will be removed in v24.Constructs a new GeneratedVaadinTextArea component with the given arguments.
Parameters:
initialValue
- the initial value to set to the valuedefaultValue
- the default value to use if the value isn't definedacceptNullValues
- whethernull
is accepted as a model valueisInitialValueOptional
- ifisInitialValueOptional
istrue
then the initial value is used only if element has no"value"
property value, otherwise element"value"
property is ignored and the initial value is set
-
GeneratedVaadinTextArea
@Deprecated public GeneratedVaadinTextArea(T initialValue, T defaultValue, Class<P> elementPropertyType, SerializableBiFunction<R,P,T> presentationToModel, SerializableBiFunction<R,T,P> modelToPresentation)
Deprecated.since v23.3, generated classes will be removed in v24.Constructs a new GeneratedVaadinTextArea component with the given arguments.
Type Parameters:
P
- the property typeParameters:
initialValue
- the initial value to set to the valuedefaultValue
- the default value to use if the value isn't definedelementPropertyType
- the type of the element propertypresentationToModel
- a function that accepts this component and a property value and returns a model valuemodelToPresentation
- a function that accepts this component and a model value and returns a property value
-
GeneratedVaadinTextArea
@Deprecated public GeneratedVaadinTextArea()
Deprecated.since v23.3, generated classes will be removed in v24.Default constructor.
-
-
Method Detail
-
isAutofocusBoolean
@Deprecated protected boolean isAutofocusBoolean()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Specify that this control should have input focus when the page loads.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
autofocus
property from the webcomponent
-
setAutofocus
@Deprecated protected void setAutofocus(boolean autofocus)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Specify that this control should have input focus when the page loads.
Parameters:
autofocus
- the boolean value to set
-
isDisabledBoolean
@Deprecated protected boolean isDisabledBoolean()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
If true, the user cannot interact with this element.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
disabled
property from the webcomponent
-
setDisabled
@Deprecated protected void setDisabled(boolean disabled)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
If true, the user cannot interact with this element.
Parameters:
disabled
- the boolean value to set
-
getAutocompleteString
@Deprecated protected String getAutocompleteString()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Whether the value of the control can be automatically completed by the browser. List of available options at: https://developer.mozilla.org/en/docs /Web/HTML/Element/input#attr-autocomplete
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
autocomplete
property from the webcomponent
-
setAutocomplete
@Deprecated protected void setAutocomplete(String autocomplete)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Whether the value of the control can be automatically completed by the browser. List of available options at: https://developer.mozilla.org/en/docs /Web/HTML/Element/input#attr-autocomplete
Parameters:
autocomplete
- the String value to set
-
getAutocorrectString
@Deprecated protected String getAutocorrectString()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
This is a property supported by Safari that is used to control whether autocorrection should be enabled when the user is entering/editing the text. Possible values are: on: Enable autocorrection. off: Disable autocorrection.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
autocorrect
property from the webcomponent
-
setAutocorrect
@Deprecated protected void setAutocorrect(String autocorrect)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
This is a property supported by Safari that is used to control whether autocorrection should be enabled when the user is entering/editing the text. Possible values are: on: Enable autocorrection. off: Disable autocorrection.
Parameters:
autocorrect
- the String value to set
-
getAutocapitalizeString
@Deprecated protected String getAutocapitalizeString()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
This is a property supported by Safari and Chrome that is used to control whether autocapitalization should be enabled when the user is entering/editing the text. Possible values are: characters: Characters capitalization. words: Words capitalization. sentences: Sentences capitalization. none: No capitalization.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
autocapitalize
property from the webcomponent
-
setAutocapitalize
@Deprecated protected void setAutocapitalize(String autocapitalize)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
This is a property supported by Safari and Chrome that is used to control whether autocapitalization should be enabled when the user is entering/editing the text. Possible values are: characters: Characters capitalization. words: Words capitalization. sentences: Sentences capitalization. none: No capitalization.
Parameters:
autocapitalize
- the String value to set
-
isAutoselectBoolean
@Deprecated protected boolean isAutoselectBoolean()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Specify that the value should be automatically selected when the field gains focus.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
autoselect
property from the webcomponent
-
setAutoselect
@Deprecated protected void setAutoselect(boolean autoselect)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Specify that the value should be automatically selected when the field gains focus.
Parameters:
autoselect
- the boolean value to set
-
getErrorMessageString
@Deprecated protected String getErrorMessageString()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Error to show when the input value is invalid.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
errorMessage
property from the webcomponent
-
setErrorMessage
@Deprecated protected void setErrorMessage(String errorMessage)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Error to show when the input value is invalid.
Parameters:
errorMessage
- the String value to set
-
getLabelString
@Deprecated protected String getLabelString()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
String used for the label element.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
label
property from the webcomponent
-
setLabel
@Deprecated protected void setLabel(String label)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
String used for the label element.
Parameters:
label
- the String value to set
-
getMaxlengthDouble
@Deprecated protected double getMaxlengthDouble()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Maximum number of characters (in Unicode code points) that the user can enter.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
maxlength
property from the webcomponent
-
setMaxlength
@Deprecated protected void setMaxlength(double maxlength)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Maximum number of characters (in Unicode code points) that the user can enter.
Parameters:
maxlength
- the double value to set
-
getMinlengthDouble
@Deprecated protected double getMinlengthDouble()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Minimum number of characters (in Unicode code points) that the user can enter.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
minlength
property from the webcomponent
-
setMinlength
@Deprecated protected void setMinlength(double minlength)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Minimum number of characters (in Unicode code points) that the user can enter.
Parameters:
minlength
- the double value to set
-
getNameString
@Deprecated protected String getNameString()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
The name of the control, which is submitted with the form data.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
name
property from the webcomponent
-
setName
@Deprecated protected void setName(String name)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
The name of the control, which is submitted with the form data.
Parameters:
name
- the String value to set
-
getPlaceholderString
@Deprecated protected String getPlaceholderString()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
A hint to the user of what can be entered in the control.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
placeholder
property from the webcomponent
-
setPlaceholder
@Deprecated protected void setPlaceholder(String placeholder)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
A hint to the user of what can be entered in the control.
Parameters:
placeholder
- the String value to set
-
isReadonlyBoolean
@Deprecated protected boolean isReadonlyBoolean()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
This attribute indicates that the user cannot modify the value of the control.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
readonly
property from the webcomponent
-
setReadonly
@Deprecated protected void setReadonly(boolean readonly)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
This attribute indicates that the user cannot modify the value of the control.
Parameters:
readonly
- the boolean value to set
-
isRequiredBoolean
@Deprecated protected boolean isRequiredBoolean()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Specifies that the user must fill in a value.
This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
required
property from the webcomponent
-
setRequired
@Deprecated protected void setRequired(boolean required)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Specifies that the user must fill in a value.
Parameters:
required
- the boolean value to set
-
isInvalidBoolean
@Deprecated protected boolean isInvalidBoolean()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
This property is set to true when the control value is invalid.
Returns:
the
invalid
property from the webcomponent
-
setInvalid
@Deprecated protected void setInvalid(boolean invalid)
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
This property is set to true when the control value is invalid.
Parameters:
invalid
- the boolean value to set
-
isPreventInvalidInputBoolean
@Deprecated protected boolean isPreventInvalidInputBoolean()
Deprecated.Since 23.2, this API is deprecated.Description copied from corresponding location in WebComponent:
When set to true, user is prevented from typing a value that conflicts with the given
maxlength
orminlength
properties.This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.
Returns:
the
preventInvalidInput
property from the webcomponent
-
setPreventInvalidInput
@Deprecated protected void setPreventInvalidInput(boolean preventInvalidInput)
Deprecated.Since 23.2, this API is deprecated.Description copied from corresponding location in WebComponent:
When set to true, user is prevented from typing a value that conflicts with the given
maxlength
orminlength
properties.Parameters:
preventInvalidInput
- the boolean value to set
-
checkValidity
@Deprecated @NotSupported protected void checkValidity()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Returns true if the current input value satisfies all constraints (if any)
This function is not supported by Flow because it returns a
boolean
. Functions with return types different than void are not supported at this moment.
-
validate
@Deprecated @NotSupported protected void validate()
Deprecated.since v23.3, generated classes will be removed in v24.Description copied from corresponding location in WebComponent:
Returns true if
value
is valid.<iron-form>
uses this to check the validity or all its elements.This function is not supported by Flow because it returns a
boolean
. Functions with return types different than void are not supported at this moment.
-
addChangeListener
@Deprecated protected Registration addChangeListener(ComponentEventListener<GeneratedVaadinTextArea.ChangeEvent<R>> listener)
Deprecated.since v23.3, generated classes will be removed in v24.Adds a listener for
change
events fired by the webcomponent.Parameters:
listener
- the listenerReturns:
a
Registration
for removing the event listener
-
addInvalidChangeListener
@Deprecated protected Registration addInvalidChangeListener(ComponentEventListener<GeneratedVaadinTextArea.InvalidChangeEvent<R>> listener)
Deprecated.since v23.3, generated classes will be removed in v24.Adds a listener for
invalid-changed
events fired by the webcomponent.Parameters:
listener
- the listenerReturns:
a
Registration
for removing the event listener
-
addToPrefix
@Deprecated protected void addToPrefix(Component... components)
Deprecated.since v23.3, generated classes will be removed in v24.Adds the given components as children of this component at the slot 'prefix'.
Parameters:
components
- The components to add.See Also:
-
addToTextarea
@Deprecated protected void addToTextarea(Component... components)
Deprecated.since v23.3, generated classes will be removed in v24.Adds the given components as children of this component at the slot 'textarea'.
Parameters:
components
- The components to add.See Also:
-
addToSuffix
@Deprecated protected void addToSuffix(Component... components)
Deprecated.since v23.3, generated classes will be removed in v24.Adds the given components as children of this component at the slot 'suffix'.
Parameters:
components
- The components to add.See Also:
-
remove
@Deprecated protected void remove(Component... components)
Deprecated.since v23.3, generated classes will be removed in v24.Removes the given child components from this component.
Parameters:
components
- The components to remove.Throws:
IllegalArgumentException
- if any of the components is not a child of this component.
-
removeAll
@Deprecated protected void removeAll()
Deprecated.since v23.3, generated classes will be removed in v24.Removes all contents from this component, this includes child components, text content as well as child elements that have been added directly to this component using the
Element
API.
-
-