public enum OverlayLocation extends Enum<OverlayLocation>
| Enum Constant and Description |
|---|
BOTTOM_LEFT |
BOTTOM_RIGHT |
TOP_LEFT |
TOP_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression(Optional<Integer> offsetX,
Optional<Integer> offsetY) |
String |
getX(Optional<Integer> offset) |
String |
getY(Optional<Integer> offset) |
static OverlayLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OverlayLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OverlayLocation TOP_LEFT
public static final OverlayLocation TOP_RIGHT
public static final OverlayLocation BOTTOM_RIGHT
public static final OverlayLocation BOTTOM_LEFT
public static OverlayLocation[] values()
for (OverlayLocation c : OverlayLocation.values()) System.out.println(c);
public static OverlayLocation 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 © 2020. All rights reserved.