org.jdesktop.swingx.decorator
public final class SortOrder extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static SortOrder |
ASCENDING |
static SortOrder |
DESCENDING |
static SortOrder |
UNSORTED |
Modifier and Type | Method and Description |
---|---|
boolean |
isAscending()
Convenience to check for ascending sort order.
|
boolean |
isSorted()
Convenience to check if the order is sorted.
|
boolean |
isSorted(boolean ascending) |
java.lang.String |
toString() |
public static final SortOrder ASCENDING
public static final SortOrder DESCENDING
public static final SortOrder UNSORTED
public boolean isSorted()
public boolean isSorted(boolean ascending)
public boolean isAscending()
public java.lang.String toString()
toString
in class java.lang.Object