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

org.dominokit.domino.ui.forms.EmailBox Maven / Gradle / Ivy

There is a newer version: 1.0.139
Show newest version
package org.dominokit.domino.ui.forms;

public class EmailBox extends InputValueBox {

    public EmailBox(String label) {
        super("email", label);
    }

    public static EmailBox create() {
        return create("");
    }

    public static EmailBox create(String label) {
        return new EmailBox(label);
    }

    public EmailBox setMultiple(boolean multiple) {
        if (multiple) {
            getInputElement().setAttribute("multiple", multiple);
        } else {
            getInputElement().removeAttribute("multiple");
        }
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy