public static enum DataGrid.SortDirection extends java.lang.Enum<DataGrid.SortDirection>
| Enum Constant and Description |
|---|
ASCENDING
Ascending (e.g.
|
DESCENDING
Descending (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static DataGrid.SortDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataGrid.SortDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataGrid.SortDirection ASCENDING
public static final DataGrid.SortDirection DESCENDING
public static DataGrid.SortDirection[] values()
for (DataGrid.SortDirection c : DataGrid.SortDirection.values()) System.out.println(c);
public static DataGrid.SortDirection valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null