public static enum ListRowComparator.Sorting extends Enum<ListRowComparator.Sorting> implements Property<Enum<ListRowComparator.Sorting>>
| Enum Constant and Description |
|---|
ASCENDING
Ascending sort (A, B ...
|
DESCENDING
Descending sort (Z, Y ...
|
NO_SORT
All values are equal
|
| Modifier and Type | Field and Description |
|---|---|
static ListRowComparator.Sorting |
DEFAULT
The default sorting type which is ASCENDING
|
| Modifier and Type | Method and Description |
|---|---|
Enum<ListRowComparator.Sorting> |
getDefaultValue()
Get the default value of the property.
|
String |
toString() |
static ListRowComparator.Sorting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListRowComparator.Sorting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListRowComparator.Sorting NO_SORT
public static final ListRowComparator.Sorting ASCENDING
public static final ListRowComparator.Sorting DESCENDING
public static final ListRowComparator.Sorting DEFAULT
public static ListRowComparator.Sorting[] values()
for (ListRowComparator.Sorting c : ListRowComparator.Sorting.values()) System.out.println(c);
public static ListRowComparator.Sorting 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 nullpublic Enum<ListRowComparator.Sorting> getDefaultValue()
Propertynull.getDefaultValue in interface Property<Enum<ListRowComparator.Sorting>>null if no default
exist.public String toString()
toString in class Enum<ListRowComparator.Sorting>Copyright © 2006–2017 Esito AS. All rights reserved.