com.vaadin.flow.component.textfield.

Enum Autocomplete

    • Enum Constant Detail

      • OFF

        public static final Autocomplete OFF

        The user must explicitly enter a value into this field for every use, or the document provides its own autocomplete method. The browser does not automatically complete the entry.

      • ON

        public static final Autocomplete ON

        The browser is allowed to automatically complete the value based on values that the user has entered during previous uses, however on does not provide any further information about what kind of data the user might be expected to enter.

      • HONORIFIC_PREFIX

        public static final Autocomplete HONORIFIC_PREFIX

        Prefix or title (e.g. "Mr.", "Ms.", "Dr.", "Mlle").

      • GIVEN_NAME

        public static final Autocomplete GIVEN_NAME

        First name.

      • ADDITIONAL_NAME

        public static final Autocomplete ADDITIONAL_NAME

        Middle name.

      • FAMILY_NAME

        public static final Autocomplete FAMILY_NAME

        Last name.

      • HONORIFIC_SUFFIX

        public static final Autocomplete HONORIFIC_SUFFIX

        Suffix (e.g. "Jr.", "B.Sc.", "MBASW", "II").

      • NICKNAME

        public static final Autocomplete NICKNAME

        Nickname.

      • EMAIL

        public static final Autocomplete EMAIL

        E-Mail address.

      • USERNAME

        public static final Autocomplete USERNAME

        Username.

      • NEW_PASSWORD

        public static final Autocomplete NEW_PASSWORD

        A new password (e.g. when creating an account or changing a password).

      • CURRENT_PASSWORD

        public static final Autocomplete CURRENT_PASSWORD

        Current password.

      • ORGANIZATION_TITLE

        public static final Autocomplete ORGANIZATION_TITLE

        Job title (e.g. "Software Engineer", "Senior Vice President", "Deputy Managing Director").

      • ORGANIZATION

        public static final Autocomplete ORGANIZATION

        Organization.

      • STREET_ADDRESS

        public static final Autocomplete STREET_ADDRESS

        Street address.

      • ADDRESS_LINE1

        public static final Autocomplete ADDRESS_LINE1

        Address line 1.

      • ADDRESS_LINE2

        public static final Autocomplete ADDRESS_LINE2

        Address line 2.

      • ADDRESS_LINE3

        public static final Autocomplete ADDRESS_LINE3

        Address line 3.

      • ADDRESS_LEVEL1

        public static final Autocomplete ADDRESS_LEVEL1

        Address level 1.

      • ADDRESS_LEVEL2

        public static final Autocomplete ADDRESS_LEVEL2

        Address level 2.

      • ADDRESS_LEVEL3

        public static final Autocomplete ADDRESS_LEVEL3

        Address level 3.

      • ADDRESS_LEVEL4

        public static final Autocomplete ADDRESS_LEVEL4

        Address level 4.

      • COUNTRY

        public static final Autocomplete COUNTRY

        Country.

      • COUNTRY_NAME

        public static final Autocomplete COUNTRY_NAME

        Country name.

      • POSTAL_CODE

        public static final Autocomplete POSTAL_CODE

        Postal code.

      • CC_NAME

        public static final Autocomplete CC_NAME

        Full name as given on the payment instrument.

      • CC_GIVEN_NAME

        public static final Autocomplete CC_GIVEN_NAME

        First name as given on the payment instrument.

      • CC_ADDITIONAL_NAME

        public static final Autocomplete CC_ADDITIONAL_NAME

        Middle name as given on the payment instrument.

      • CC_FAMILY_NAME

        public static final Autocomplete CC_FAMILY_NAME

        Last name as given on the payment instrument.

      • CC_NUMBER

        public static final Autocomplete CC_NUMBER

        Code identifying the payment instrument (e.g. the credit card number).

      • CC_EXP

        public static final Autocomplete CC_EXP

        Expiration date of the payment instrument.

      • CC_EXP_MONTH

        public static final Autocomplete CC_EXP_MONTH

        Expiration month of the payment instrument.

      • CC_EXP_YEAR

        public static final Autocomplete CC_EXP_YEAR

        Expiration year of the payment instrument.

      • CC_CSC

        public static final Autocomplete CC_CSC

        Security code for the payment instrument.

      • CC_TYPE

        public static final Autocomplete CC_TYPE

        Type of payment instrument (e.g. Visa).

      • TRANSACTION_CURRENCY

        public static final Autocomplete TRANSACTION_CURRENCY

        Transaction currency.

      • TRANSACTION_AMOUNT

        public static final Autocomplete TRANSACTION_AMOUNT

        Transaction amount.

      • LANGUAGE

        public static final Autocomplete LANGUAGE

        Preferred language; a valid BCP 47 language tag.

      • BDAY

        public static final Autocomplete BDAY

        Date of birth.

      • BDAY_DAY

        public static final Autocomplete BDAY_DAY

        Day of birth.

      • BDAY_MONTH

        public static final Autocomplete BDAY_MONTH

        Month of birth.

      • BDAY_YEAR

        public static final Autocomplete BDAY_YEAR

        Year of birth.

      • SEX

        public static final Autocomplete SEX

        Gender identity (e.g. Female, Fa'afafine), free-form text, no newlines.

      • TEL

        public static final Autocomplete TEL

        Full telephone number, including country code.

      • TEL_COUNTRY_CODE

        public static final Autocomplete TEL_COUNTRY_CODE

        Telephone number country code.

      • TEL_NATIONAL

        public static final Autocomplete TEL_NATIONAL

        Telephone number, without country code.

      • TEL_AREA_CODE

        public static final Autocomplete TEL_AREA_CODE

        Telephone number area code.

      • TEL_LOCAL

        public static final Autocomplete TEL_LOCAL

        Telephone number, local part.

      • TEL_LOCAL_PREFIX

        public static final Autocomplete TEL_LOCAL_PREFIX

        Telephone number, local prefix.

      • TEL_LOCAL_SUFFIX

        public static final Autocomplete TEL_LOCAL_SUFFIX

        Telephone number, local suffix.

      • TEL_EXTENSION

        public static final Autocomplete TEL_EXTENSION

        Telephone number, extension code.

      • URL

        public static final Autocomplete URL

        Home page or other Web page corresponding to the company, person, address, or contact information in the other fields associated with this field.

      • PHOTO

        public static final Autocomplete PHOTO

        Photograph, icon, or other image corresponding to the company, person, address, or contact information in the other fields associated with this field.

    • Method Detail

      • values

        public static Autocomplete[] values()

        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

        for (Autocomplete c : Autocomplete.values())
            System.out.println(c);
        

        Returns:

        an array containing the constants of this enum type, in the order they are declared

      • valueOf

        public static Autocomplete valueOf(String name)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

        Parameters:

        name - the name of the enum constant to be returned.

        Returns:

        the enum constant with the specified name

        Throws:

        IllegalArgumentException - if this enum type has no constant with the specified name

        NullPointerException - if the argument is null