public enum AriaAutocomplete extends Enum<AriaAutocomplete> implements EnumType<String>
AttributeReadAriaAutocomplete.getAutocomplete()
.Enum Constant and Description |
---|
BOTH
|
INLINE
Indicates that the system provides text after the caret as a suggestion for how to complete the field.
|
LIST
Indicates that a list of choices appears from which the user can choose, but the edit box retains focus.
|
NONE
Indicates that no input completion suggestions are provided.
|
Modifier and Type | Field and Description |
---|---|
private String |
title |
private String |
value |
Modifier and Type | Method and Description |
---|---|
String |
getValue()
This method returns the raw value of this datatype.
|
String |
toString()
|
static AriaAutocomplete |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AriaAutocomplete[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AriaAutocomplete INLINE
public static final AriaAutocomplete LIST
public static final AriaAutocomplete BOTH
public static final AriaAutocomplete NONE
private final String value
getValue()
private final String title
toString()
public static AriaAutocomplete[] values()
for (AriaAutocomplete c : AriaAutocomplete.values()) System.out.println(c);
public static AriaAutocomplete valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
String
, Character
, Boolean
, any type of Number
, any type of
java.time.LocalDate
, etc.).getValue
in interface AttributeReadValue<String>
getValue
in interface SimpleDatatype<String>
public String toString()
String
representation of this Datatype
. While the general contract
of Object.toString()
is very weak and mainly used for debugging, the contract here is very
strong. The returned String
has to be suitable for end-users and official output to any kind of
sink. NlsMessage
for this purpose and implement
NlsObject
if you want to support I18N/L10N.Copyright © 2001–2014 mmm-Team. All rights reserved.