public static enum GuiUtils.RelativeLocation extends java.lang.Enum<GuiUtils.RelativeLocation>
Modifier and Type | Method and Description |
---|---|
static GuiUtils.RelativeLocation |
fromString(java.lang.String str) |
static GuiUtils.RelativeLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GuiUtils.RelativeLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuiUtils.RelativeLocation CENTER
public static final GuiUtils.RelativeLocation LEFT
public static final GuiUtils.RelativeLocation RIGHT
public static final GuiUtils.RelativeLocation ABOVE
public static final GuiUtils.RelativeLocation BELOW
public static GuiUtils.RelativeLocation[] values()
for (GuiUtils.RelativeLocation c : GuiUtils.RelativeLocation.values()) System.out.println(c);
public static GuiUtils.RelativeLocation 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 nullpublic static GuiUtils.RelativeLocation fromString(java.lang.String str)