com.vaadin.shared.ui.grid.
Enum GridConstants.SidebarColumnOrder
- java.lang.Object
-
- java.lang.Enum<GridConstants.SidebarColumnOrder>
-
- com.vaadin.shared.ui.grid.GridConstants.SidebarColumnOrder
-
All Implemented Interfaces:
Enclosing class:
public static enum GridConstants.SidebarColumnOrder extends Enum<GridConstants.SidebarColumnOrder>
Ordering of columns in the sidebar
Since:
8.25
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASCENDING
Columns in the sidebar are presented in ascending alphabetical order.
DEFAULT
Columns in the sidebar are presented in the order they are declared.
DESCENDING
Columns in the sidebar are presented in descending alphabetical order.
-
Method Summary
All Methods Modifier and Type Method Description static GridConstants.SidebarColumnOrder
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static GridConstants.SidebarColumnOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final GridConstants.SidebarColumnOrder DEFAULT
Columns in the sidebar are presented in the order they are declared.
-
ASCENDING
public static final GridConstants.SidebarColumnOrder ASCENDING
Columns in the sidebar are presented in ascending alphabetical order.
-
DESCENDING
public static final GridConstants.SidebarColumnOrder DESCENDING
Columns in the sidebar are presented in descending alphabetical order.
-
-
Method Detail
-
values
public static GridConstants.SidebarColumnOrder[] 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 (GridConstants.SidebarColumnOrder c : GridConstants.SidebarColumnOrder.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridConstants.SidebarColumnOrder 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
-
-