public static enum TableModel.SortDir extends java.lang.Enum<TableModel.SortDir>
| Enum Constant and Description |
|---|
ASC
Designates an ascending sort.
|
DESC
Designates a descending sort.
|
| Modifier and Type | Method and Description |
|---|---|
static TableModel.SortDir |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TableModel.SortDir[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableModel.SortDir ASC
public static final TableModel.SortDir DESC
public static TableModel.SortDir[] values()
for (TableModel.SortDir c : TableModel.SortDir.values()) System.out.println(c);
public static TableModel.SortDir 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 null