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

org.bklab.flow.factory.EmailFieldFactory Maven / Gradle / Ivy

There is a newer version: 22.0.1
Show newest version
package org.bklab.flow.factory;

import com.vaadin.flow.component.AbstractField;
import com.vaadin.flow.component.HasValue;
import com.vaadin.flow.component.textfield.EmailField;
import org.bklab.flow.FlowFactory;
import org.bklab.flow.base.*;

public class EmailFieldFactory extends FlowFactory implements
        GeneratedVaadinEmailFieldFactory,
        HasSizeFactory,
        HasValidationFactory,
        HasValueChangeModeFactory,
        HasPrefixAndSuffixFactory,
        InputNotifierFactory,
        KeyNotifierFactory,
        CompositionNotifierFactory,
        HasHelperFactory,
        HasAutocompleteFactory,
        HasAutocapitalizeFactory,
        HasAutocorrectFactory{

    public EmailFieldFactory() {
        this(new EmailField());
    }

    public EmailFieldFactory(String label) {
        this(new EmailField(label));
    }

    public EmailFieldFactory(String label, String placeholder) {
        this(new EmailField(label, placeholder));
    }

    public EmailFieldFactory(HasValue.ValueChangeListener> listener) {
        this(new EmailField(listener));
    }

    public EmailFieldFactory(String label, HasValue.ValueChangeListener> listener) {
        this(new EmailField(label, listener));
    }

    public EmailFieldFactory(String label, String initialValue, HasValue.ValueChangeListener> listener) {
        this(new EmailField(label, initialValue, listener));
    }

    public EmailFieldFactory(EmailField component) {
        super(component);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy