Serializable, Comparable<PositionRelativeTop>public enum PositionRelativeTop extends Enum<PositionRelativeTop>
| Enum Constant | Description |
|---|---|
BOTTOM |
Element position is relative from the bottom of the element.
|
BOTTOM_INSIDE |
Element position is inside the element and relative from the bottom of the element.
|
CENTER |
Element position is relative from the center of the element.
|
TOP |
Element position is relative from the top of the element.
|
TOP_INSIDE |
Element position is inside the element.
|
| Modifier and Type | Method | Description |
|---|---|---|
static PositionRelativeTop |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PositionRelativeTop[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositionRelativeTop CENTER
public static final PositionRelativeTop TOP
public static final PositionRelativeTop BOTTOM
public static final PositionRelativeTop BOTTOM_INSIDE
public static final PositionRelativeTop TOP_INSIDE
public static PositionRelativeTop[] values()
for (PositionRelativeTop c : PositionRelativeTop.values()) System.out.println(c);
public static PositionRelativeTop 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.