com.vaadin.client.widgets.
Enum Escalator.AriaGridRole
- java.lang.Object
-
- java.lang.Enum<Escalator.AriaGridRole>
-
- com.vaadin.client.widgets.Escalator.AriaGridRole
-
All Implemented Interfaces:
Enclosing class:
public static enum Escalator.AriaGridRole extends Enum<Escalator.AriaGridRole>
Holds the currently used aria roles within the grid for rows and cells.
Since:
8.2
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMNHEADER
Aria role for grid column header cell elements.
GRIDCELL
Aria role for grid cell elements except within the header.
ROW
Aria role for grid row elements except within the header.
ROWGROUP
Aria role for grid row group elements, i.e.
ROWHEADER
Aria role for grid row elements within the header.
-
Method Summary
All Methods Modifier and Type Method Description String
getName()
Return the name of the
Escalator.AriaGridRole
.static Escalator.AriaGridRole
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static Escalator.AriaGridRole[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROW
public static final Escalator.AriaGridRole ROW
Aria role for grid row elements except within the header.
See Also:
-
ROWHEADER
public static final Escalator.AriaGridRole ROWHEADER
Aria role for grid row elements within the header.
-
ROWGROUP
public static final Escalator.AriaGridRole ROWGROUP
Aria role for grid row group elements, i.e. each root element that contains all the rows per section (header, body, or footer).
-
GRIDCELL
public static final Escalator.AriaGridRole GRIDCELL
Aria role for grid cell elements except within the header.
See Also:
-
COLUMNHEADER
public static final Escalator.AriaGridRole COLUMNHEADER
Aria role for grid column header cell elements.
-
-
Method Detail
-
values
public static Escalator.AriaGridRole[] 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 (Escalator.AriaGridRole c : Escalator.AriaGridRole.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Escalator.AriaGridRole 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
-
getName
public String getName()
Return the name of the
Escalator.AriaGridRole
.Returns:
String name to be used as role attribute
-
-