public static enum Element.AlignTo extends java.lang.Enum<Element.AlignTo>
Enum Constant and Description |
---|
BOTTOM
The bottom of the element will be aligned to the bottom of the visible area of the
scrollable ancestor.
|
TOP
The top of the element will be aligned to the top of the visible area of the scrollable
ancestor.
|
Modifier and Type | Method and Description |
---|---|
static Element.AlignTo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Element.AlignTo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Element.AlignTo TOP
public static final Element.AlignTo BOTTOM
public static Element.AlignTo[] values()
for (Element.AlignTo c : Element.AlignTo.values()) System.out.println(c);
public static Element.AlignTo 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 null