public static enum Column.SortDirection extends Enum<Column.SortDirection>
Modifier and Type | Method and Description |
---|---|
static Column.SortDirection |
defaultFor(Column column)
Get the default ordering for a column.
|
int |
getSwtCode()
The SWT code of the alignment for convenience purposes.
|
static Column.SortDirection |
of(int swtCode)
Get the direction the column is sorted in based on SWT code
|
static Column.SortDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Column.SortDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Column.SortDirection ASC
public static final Column.SortDirection DESC
public static Column.SortDirection[] values()
for (Column.SortDirection c : Column.SortDirection.values()) System.out.println(c);
public static Column.SortDirection 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 int getSwtCode()
public static Column.SortDirection of(int swtCode)
swtCode
- the code from SWTpublic static Column.SortDirection defaultFor(Column column)
column
-