com.vaadin.shared.ui.datefield.
Enum AbstractDateFieldState.AccessibleElement
- java.lang.Object
-
- java.lang.Enum<AbstractDateFieldState.AccessibleElement>
-
- com.vaadin.shared.ui.datefield.AbstractDateFieldState.AccessibleElement
-
All Implemented Interfaces:
Serializable
,Comparable<AbstractDateFieldState.AccessibleElement>
Enclosing class:
public static enum AbstractDateFieldState.AccessibleElement extends Enum<AbstractDateFieldState.AccessibleElement>
Navigation elements that have assistive label.
Since:
8.4
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEXT_MONTH
NEXT_YEAR
PREVIOUS_MONTH
PREVIOUS_YEAR
-
Method Summary
All Methods Modifier and Type Method Description static AbstractDateFieldState.AccessibleElement
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static AbstractDateFieldState.AccessibleElement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREVIOUS_YEAR
public static final AbstractDateFieldState.AccessibleElement PREVIOUS_YEAR
-
NEXT_YEAR
public static final AbstractDateFieldState.AccessibleElement NEXT_YEAR
-
PREVIOUS_MONTH
public static final AbstractDateFieldState.AccessibleElement PREVIOUS_MONTH
-
NEXT_MONTH
public static final AbstractDateFieldState.AccessibleElement NEXT_MONTH
-
-
Method Detail
-
values
public static AbstractDateFieldState.AccessibleElement[] 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 (AbstractDateFieldState.AccessibleElement c : AbstractDateFieldState.AccessibleElement.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractDateFieldState.AccessibleElement 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
-
-