Serializable, Comparable<PositionRelativeLeft>public enum PositionRelativeLeft extends Enum<PositionRelativeLeft>
| Enum Constant | Description |
|---|---|
CENTER |
Element position is relative from the center of the element.
|
INSIDE_LEFT |
Element left position is the same as the other.
|
INSIDE_RIGHT |
Element position is inside the element and relative from the right of the element.
|
LEFT |
Element position is relative from the left of the element.
|
RIGHT |
Element position is relative from the right of the element.
|
| Modifier and Type | Method | Description |
|---|---|---|
static PositionRelativeLeft |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PositionRelativeLeft[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositionRelativeLeft CENTER
public static final PositionRelativeLeft RIGHT
public static final PositionRelativeLeft INSIDE_RIGHT
public static final PositionRelativeLeft LEFT
public static final PositionRelativeLeft INSIDE_LEFT
public static PositionRelativeLeft[] values()
for (PositionRelativeLeft c : PositionRelativeLeft.values()) System.out.println(c);
public static PositionRelativeLeft 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 © 2014–2018. All rights reserved.