@Tag(value="vaadin-email-field")
@NpmPackage(value="@vaadin/vaadin-text-field",
version="2.10.0")
@JsModule(value="@vaadin/vaadin-text-field/src/vaadin-email-field.js")
public abstract class GeneratedVaadinEmailField<R extends GeneratedVaadinEmailField<R,T>,T>
extends GeneratedVaadinTextField<R,T>
implements com.vaadin.flow.component.HasStyle
Description copied from corresponding location in WebComponent:
<vaadin-email-field> is a Web Component for email field control in
forms.
<vaadin-email-field label="Email"> </vaadin-email-field>
See vaadin-text-field.html for the styling documentation
GeneratedVaadinTextField.ChangeEvent<R extends GeneratedVaadinTextField<R,?>>, GeneratedVaadinTextField.InvalidChangeEvent<R extends GeneratedVaadinTextField<R,?>>com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V>com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>| Constructor and Description |
|---|
GeneratedVaadinEmailField()
Default constructor.
|
GeneratedVaadinEmailField(T initialValue,
T defaultValue,
boolean acceptNullValues)
Constructs a new GeneratedVaadinEmailField component with the given
arguments.
|
GeneratedVaadinEmailField(T initialValue,
T defaultValue,
Class<P> elementPropertyType,
com.vaadin.flow.function.SerializableBiFunction<R,P,T> presentationToModel,
com.vaadin.flow.function.SerializableBiFunction<R,T,P> modelToPresentation)
Constructs a new GeneratedVaadinEmailField component with the given
arguments.
|
GeneratedVaadinEmailField(T initialValue,
T defaultValue,
Class<P> elementPropertyType,
com.vaadin.flow.function.SerializableFunction<P,T> presentationToModel,
com.vaadin.flow.function.SerializableFunction<T,P> modelToPresentation)
Constructs a new GeneratedVaadinEmailField component with the given
arguments.
|
addChangeListener, addInvalidChangeListener, addThemeVariants, addToInput, addToPrefix, addToSuffix, checkValidity, getAutocapitalizeString, getAutocompleteString, getAutocorrectString, getErrorMessageString, getLabelString, getListString, getMaxlengthDouble, getMinlengthDouble, getNameString, getPatternString, getPlaceholderString, getTitleString, isAutofocusBoolean, isAutoselectBoolean, isClearButtonVisibleBoolean, isDisabledBoolean, isInvalidBoolean, isPreventInvalidInputBoolean, isReadonlyBoolean, isRequiredBoolean, remove, removeAll, removeThemeVariants, setAutocapitalize, setAutocomplete, setAutocorrect, setAutofocus, setAutoselect, setClearButtonVisible, setDisabled, setErrorMessage, setInvalid, setLabel, setList, setMaxlength, setMinlength, setName, setPattern, setPlaceholder, setPreventInvalidInput, setReadonly, setRequired, setTitle, validategetSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEventaddValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValue, setValue, valueEqualsaddListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameaddFocusShortcut, blur, focus, getTabIndex, setTabIndexaddThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNamepublic GeneratedVaadinEmailField(T initialValue, T defaultValue, Class<P> elementPropertyType, com.vaadin.flow.function.SerializableFunction<P,T> presentationToModel, com.vaadin.flow.function.SerializableFunction<T,P> modelToPresentation)
P - the property typeinitialValue - 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 valuepublic GeneratedVaadinEmailField(T initialValue, T defaultValue, boolean acceptNullValues)
initialValue - the initial value to set to the valuedefaultValue - the default value to use if the value isn't definedacceptNullValues - whether null is accepted as a model valuepublic GeneratedVaadinEmailField(T initialValue, T defaultValue, Class<P> elementPropertyType, com.vaadin.flow.function.SerializableBiFunction<R,P,T> presentationToModel, com.vaadin.flow.function.SerializableBiFunction<R,T,P> modelToPresentation)
P - the property typeinitialValue - 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 valuepublic GeneratedVaadinEmailField()
Copyright © 2025. All rights reserved.