Enum Autocomplete
- java.lang.Object
-
- java.lang.Enum<Autocomplete>
-
- com.vaadin.flow.component.textfield.Autocomplete
-
- All Implemented Interfaces:
Serializable,Comparable<Autocomplete>
public enum Autocomplete extends Enum<Autocomplete>
Values for theautocompleteattribute.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONAL_NAMEMiddle name.ADDRESS_LEVEL1Address level 1.ADDRESS_LEVEL2Address level 2.ADDRESS_LEVEL3Address level 3.ADDRESS_LEVEL4Address level 4.ADDRESS_LINE1Address line 1.ADDRESS_LINE2Address line 2.ADDRESS_LINE3Address line 3.BDAYDate of birth.BDAY_DAYDay of birth.BDAY_MONTHMonth of birth.BDAY_YEARYear of birth.CC_ADDITIONAL_NAMEMiddle name as given on the payment instrument.CC_CSCSecurity code for the payment instrument.CC_EXPExpiration date of the payment instrument.CC_EXP_MONTHExpiration month of the payment instrument.CC_EXP_YEARExpiration year of the payment instrument.CC_FAMILY_NAMELast name as given on the payment instrument.CC_GIVEN_NAMEFirst name as given on the payment instrument.CC_NAMEFull name as given on the payment instrument.CC_NUMBERCode identifying the payment instrument (e.g.CC_TYPEType of payment instrument (e.g.COUNTRYCountry.COUNTRY_NAMECountry name.CURRENT_PASSWORDCurrent password.EMAILE-Mail address.FAMILY_NAMELast name.GIVEN_NAMEFirst name.HONORIFIC_PREFIXPrefix or title (e.g.HONORIFIC_SUFFIXSuffix (e.g.LANGUAGEPreferred language; a valid BCP 47 language tag.NAMEFull name.NEW_PASSWORDA new password (e.g.NICKNAMENickname.OFFThe user must explicitly enter a value into this field for every use, or the document provides its own autocomplete method.ONThe browser is allowed to automatically complete the value based on values that the user has entered during previous uses, howeverondoes not provide any further information about what kind of data the user might be expected to enter.ORGANIZATIONOrganization.ORGANIZATION_TITLEJob title (e.g.PHOTOPhotograph, icon, or other image corresponding to the company, person, address, or contact information in the other fields associated with this field.POSTAL_CODEPostal code.SEXGender identity (e.g.STREET_ADDRESSStreet address.TELFull telephone number, including country code.TEL_AREA_CODETelephone number area code.TEL_COUNTRY_CODETelephone number country code.TEL_EXTENSIONTelephone number, extension code.TEL_LOCALTelephone number, local part.TEL_LOCAL_PREFIXTelephone number, local prefix.TEL_LOCAL_SUFFIXTelephone number, local suffix.TEL_NATIONALTelephone number, without country code.TRANSACTION_AMOUNTTransaction amount.TRANSACTION_CURRENCYTransaction currency.URLHome page or other Web page corresponding to the company, person, address, or contact information in the other fields associated with this field.USERNAMEUsername.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AutocompletevalueOf(String name)Returns the enum constant of this type with the specified name.static Autocomplete[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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, howeverondoes not provide any further information about what kind of data the user might be expected to enter.
-
NAME
public static final Autocomplete NAME
Full name.
-
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 nameNullPointerException- if the argument is null
-
-