public enum ColumnSort extends Enum<ColumnSort>
GridSortModel is sorted.| Enum Constant and Description |
|---|
ASCENDING
A sort column and sorted in ascending order.
|
DESCENDING
A sort column, and sorted in descending order.
|
UNSORTED
Not a sort column.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnSort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnSort ASCENDING
public static final ColumnSort DESCENDING
public static final ColumnSort UNSORTED
public static ColumnSort[] values()
for (ColumnSort c : ColumnSort.values()) System.out.println(c);
public static ColumnSort 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 null5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.