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 name)
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 SortOrder ASCENDING
1, 4, 0
sorted in
ASCENDING
order is 0, 1, 4
.public static final SortOrder DESCENDING
1, 4, 0
sorted in
DESCENDING
order is 4, 1, 0
.public static final SortOrder UNSORTED
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 SortOrder valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2022 aicas GmbH. All Rights Reserved.