- All Implemented Interfaces:
Serializable
,Comparable<AnyINPUT.Color.Autocomplete>
,Function<AnyDocument<?>,
String>
- Enclosing class:
AnyINPUT.Color<D extends AnyDocument<D>,
PC extends AnyUnion_Interactive_Phrasing<D, PC>, E extends AnyINPUT.Color<D, PC, E>>
public static enum AnyINPUT.Color.Autocomplete
extends Enum<AnyINPUT.Color.Autocomplete>
implements Function<AnyDocument<?>,String>
See The HTML autocomplete attribute.
We're making our best guess which values are applicable. This is to give a nice short list in code assist. TODO: Find somewhere this relationship is defined (if there is any).
- Since:
- HTML 5
- See Also:
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(AnyDocument<?> document) getValue()
toString()
static AnyINPUT.Color.Autocomplete
Returns the enum constant of this type with the specified name.static AnyINPUT.Color.Autocomplete[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OFF
-
ON
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
- Overrides:
toString
in classEnum<AnyINPUT.Color.Autocomplete>
-
apply
- Specified by:
apply
in interfaceFunction<AnyDocument<?>,
String>
-
getValue
-