Package eu.webtoolkit.jwt
Enum Class AutoCompleteMode
- All Implemented Interfaces:
Serializable,Comparable<AutoCompleteMode>,Constable
Enumeration that describes different autocomplete modes.
The autocomplete mode tells the browser what type of information is required by the field. This helps the browser to complete the field for the user.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe current password of the user.A new password.Forbid the browser to automatically enter or select values.The browser will "guess" what type of data is required.An accout name or username. -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()Returns the numerical representation of this enum.static AutoCompleteModeReturns the enum constant of this class with the specified name.static AutoCompleteMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Off
Forbid the browser to automatically enter or select values.Note: In most modern browsers, this will not stop password manager to do it.
-
On
The browser will "guess" what type of data is required. -
NewPassword
A new password. This should be used with field for entering a new password or confirming the new password. -
CurrentPassword
The current password of the user. -
Username
An accout name or username.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()Returns the numerical representation of this enum.
-