- All Implemented Interfaces:
Serializable
,Comparable<AnyFORM.Autocomplete>
,Function<AnyDocument<?>,
String>
- Enclosing class:
AnyFORM<D extends AnyDocument<D>,
PC extends AnyPalpableContent<D, PC>, E extends AnyFORM<D, PC, E, __, _c>, __ extends AnyFORM__<D, PC, __>, _c extends AnyFORM_c<D, PC, _c>>
public static enum AnyFORM.Autocomplete
extends Enum<AnyFORM.Autocomplete>
implements Function<AnyDocument<?>,String>
- Since:
- HTML 5
- See Also:
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(AnyDocument<?> document) getValue()
toString()
static AnyFORM.Autocomplete
Returns the enum constant of this type with the specified name.static AnyFORM.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<AnyFORM.Autocomplete>
-
apply
- Specified by:
apply
in interfaceFunction<AnyDocument<?>,
String>
-
getValue
-