public enum SortOrder extends Enum<SortOrder >
RowSorter
| Enum Constant and Description |
|---|
ASCENDING
Enumeration value indicating the items are sorted in increasing order.
|
DESCENDING
Enumeration value indicating the items are sorted in decreasing order.
|
UNSORTED
Enumeration value indicating the items are unordered.
|
| Modifier and Type | Method and Description |
|---|---|
static SortOrder |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static SortOrder |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final SortOrderASCENDING
1, 4, 0 sorted in
ASCENDING order is
0, 1, 4.
public static final SortOrderDESCENDING
1, 4, 0 sorted in
DESCENDING order is
4, 1, 0.
public static final SortOrderUNSORTED
1, 4, 0 in
UNSORTED order is
1, 4, 0.
public static SortOrder[] values()
for (SortOrder c : SortOrder.values()) System.out.println(c);
public static SortOrdervalueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null