public static enum Column.Alignment extends Enum<Column.Alignment>
Modifier and Type | Method and Description |
---|---|
int |
getSwtCode()
The SWT code of the alignment for convenience purposes.
|
static Column.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Column.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Column.Alignment LEFT
public static final Column.Alignment CENTER
public static final Column.Alignment RIGHT
public static Column.Alignment[] values()
for (Column.Alignment c : Column.Alignment.values()) System.out.println(c);
public static Column.Alignment 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()