public static enum Composite.Anchor extends java.lang.Enum<Composite.Anchor>
| Enum Constant and Description |
|---|
BOTTOM_CENTER |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER_CENTER |
CENTER_LEFT |
CENTER_RIGHT |
TOP_CENTER |
TOP_LEFT |
TOP_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static Composite.Anchor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Composite.Anchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Composite.Anchor TOP_LEFT
public static final Composite.Anchor TOP_CENTER
public static final Composite.Anchor TOP_RIGHT
public static final Composite.Anchor CENTER_LEFT
public static final Composite.Anchor CENTER_CENTER
public static final Composite.Anchor CENTER_RIGHT
public static final Composite.Anchor BOTTOM_LEFT
public static final Composite.Anchor BOTTOM_CENTER
public static final Composite.Anchor BOTTOM_RIGHT
public static Composite.Anchor[] values()
for (Composite.Anchor c : Composite.Anchor.values()) System.out.println(c);
public static Composite.Anchor 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