@Tag(value="vaadin-email-field") @NpmPackage(value="@vaadin/vaadin-text-field", version="3.0.2") @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 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,?>>AbstractField.ComponentValueChangeEvent<C extends Component,V>BlurNotifier.BlurEvent<C extends Component>FocusNotifier.FocusEvent<C extends Component>HasValue.ValueChangeEvent<V>, HasValue.ValueChangeListener<E extends HasValue.ValueChangeEvent<?>>| 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,
boolean acceptNullValues,
boolean isInitialValueOptional)
Constructs a new GeneratedVaadinEmailField component with the given
arguments.
|
GeneratedVaadinEmailField(T initialValue,
T defaultValue,
Class<P> elementPropertyType,
SerializableBiFunction<R,P,T> presentationToModel,
SerializableBiFunction<R,T,P> modelToPresentation)
Constructs a new GeneratedVaadinEmailField component with the given
arguments.
|
GeneratedVaadinEmailField(T initialValue,
T defaultValue,
Class<P> elementPropertyType,
SerializableFunction<P,T> presentationToModel,
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, 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, setClassNamegetElementaddFocusShortcut, blur, focus, getTabIndex, setTabIndexaddBlurListeneraddFocusListenerisEnabled, setEnabledaddThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameisReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisibleclear, getOptionalValueaddAttachListeneraddDetachListenerpublic GeneratedVaadinEmailField(T initialValue, T defaultValue, Class<P> elementPropertyType, SerializableFunction<P,T> presentationToModel, 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, boolean acceptNullValues, boolean isInitialValueOptional)
If isInitialValueOptional is true 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.
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 valueisInitialValueOptional - if isInitialValueOptional is true 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 setpublic GeneratedVaadinEmailField(T initialValue, T defaultValue, Class<P> elementPropertyType, SerializableBiFunction<R,P,T> presentationToModel, 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 © 2021. All rights reserved.