public enum Anchor extends Enum<Anchor>
| 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 BUTTOM
public static final Anchor LEFT
public static final Anchor RIGHT
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 © 2007–2018 Andreas W. Bartels. All rights reserved.