All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.flow.component.textfield.GeneratedVaadinEmailField Maven / Gradle / Ivy

There is a newer version: 24.4.12
Show newest version
/**
 * Copyright 2000-2024 Vaadin Ltd.
 *
 * This program is available under Vaadin Commercial License and Service Terms.
 *
 * See  {@literal }  for the full
 * license.
 */
package com.vaadin.flow.component.textfield;

import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.dependency.JsModule;
import com.vaadin.flow.component.dependency.NpmPackage;
import com.vaadin.flow.function.SerializableBiFunction;
import com.vaadin.flow.function.SerializableFunction;

/**
 * 

* Description copied from corresponding location in WebComponent: *

*

* {@code } is a Web Component for email field control in * forms. *

*

* <vaadin-email-field label="Email"> * </vaadin-email-field> *

*

Styling

*

* See vaadin-text-field.html for the styling documentation *

*

* See * ThemableMixin * – how to apply styles for shadow parts *

*/ @Tag("vaadin-email-field") @NpmPackage(value = "@vaadin/vaadin-text-field", version = "2.10.0") @JsModule("@vaadin/vaadin-text-field/src/vaadin-email-field.js") public abstract class GeneratedVaadinEmailField, T> extends GeneratedVaadinTextField implements HasStyle { /** * Constructs a new GeneratedVaadinEmailField component with the given * arguments. * * @param initialValue * the initial value to set to the value * @param defaultValue * the default value to use if the value isn't defined * @param elementPropertyType * the type of the element property * @param presentationToModel * a function that converts a string value to a model value * @param modelToPresentation * a function that converts a model value to a string value * @param

* the property type */ public

GeneratedVaadinEmailField(T initialValue, T defaultValue, Class

elementPropertyType, SerializableFunction presentationToModel, SerializableFunction modelToPresentation) { super(initialValue, defaultValue, elementPropertyType, presentationToModel, modelToPresentation); } /** * Constructs a new GeneratedVaadinEmailField component with the given * arguments. * * @param initialValue * the initial value to set to the value * @param defaultValue * the default value to use if the value isn't defined * @param acceptNullValues * whether null is accepted as a model value */ public GeneratedVaadinEmailField(T initialValue, T defaultValue, boolean acceptNullValues) { super(initialValue, defaultValue, acceptNullValues); } /** * Constructs a new GeneratedVaadinEmailField component with the given * arguments. * * @param initialValue * the initial value to set to the value * @param defaultValue * the default value to use if the value isn't defined * @param elementPropertyType * the type of the element property * @param presentationToModel * a function that accepts this component and a property value * and returns a model value * @param modelToPresentation * a function that accepts this component and a model value and * returns a property value * @param

* the property type */ public

GeneratedVaadinEmailField(T initialValue, T defaultValue, Class

elementPropertyType, SerializableBiFunction presentationToModel, SerializableBiFunction modelToPresentation) { super(initialValue, defaultValue, elementPropertyType, presentationToModel, modelToPresentation); } /** * Default constructor. */ public GeneratedVaadinEmailField() { this(null, null, null, (SerializableFunction) null, (SerializableFunction) null); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy