public enum Anchor extends Enum<Anchor>
| Enum Constant and Description |
|---|
BOTTOM |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER |
LEFT |
RIGHT |
TOP |
TOP_LEFT |
TOP_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static Anchor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Anchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Anchor TOP
public static final Anchor TOP_LEFT
public static final Anchor TOP_RIGHT
public static final Anchor BOTTOM
public static final Anchor BOTTOM_LEFT
public static final Anchor BOTTOM_RIGHT
public static final Anchor LEFT
public static final Anchor RIGHT
public static final Anchor CENTER
public static Anchor[] values()
for (Anchor c : Anchor.values()) System.out.println(c);
public static Anchor 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 nullCopyright © 2021 vpc open source initiative. All rights reserved.