public enum TableSortMode extends java.lang.Enum<TableSortMode> implements Identity
COMPARATOR
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getKey() |
java.lang.String |
getName() |
java.lang.Object |
getOwner() |
static TableSortMode |
parseMode(java.lang.String s) |
boolean |
sortsAscending() |
boolean |
sortsColumns() |
boolean |
sortsNumbers() |
static TableSortMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TableSortMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableSortMode COLUMNS_ASCENDING_ALPHABETICALLY
public static final TableSortMode COLUMNS_DESCENDING_ALPHABETICALLY
public static final TableSortMode COLUMNS_ASCENDING_NUMERICALLY
public static final TableSortMode COLUMNS_DESCENDING_NUMERICALLY
public static final TableSortMode ROWS_ASCENDING_ALPHABETICALLY
public static final TableSortMode ROWS_DESCENDING_ALPHABETICALLY
public static final TableSortMode ROWS_ASCENDING_NUMERICALLY
public static final TableSortMode ROWS_DESCENDING_NUMERICALLY
public static TableSortMode[] values()
for (TableSortMode c : TableSortMode.values()) System.out.println(c);
public static TableSortMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TableSortMode parseMode(java.lang.String s)
public java.lang.String getId()
getId
in interface Identity
Identity.getId()
public java.lang.String getName()
getName
in interface Identity
Identity.getName()
public java.lang.String getDescription()
getDescription
in interface Identity
Identity.getDescription()
public javax.swing.Icon getIcon()
getIcon
in interface Identity
Identity.getIcon()
public java.lang.Object getOwner()
getOwner
in interface Identity
Identity.getOwner()
public java.lang.String getKey()
public boolean sortsColumns()
public boolean sortsNumbers()
public boolean sortsAscending()