public static enum Layout.Alignment extends java.lang.Enum<Layout.Alignment>
| Enum Constant and Description |
|---|
BEGIN
Positions an element at the beginning of a given axis.
|
END
Positions an element at the beginning of a given axis.
|
STRETCH
Stretches an element to fill the layer on a given axis.
|
| Modifier and Type | Method and Description |
|---|---|
static Layout.Alignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Layout.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Layout.Alignment BEGIN
public static final Layout.Alignment END
public static final Layout.Alignment STRETCH
public static Layout.Alignment[] values()
for (Layout.Alignment c : Layout.Alignment.values()) System.out.println(c);
public static Layout.Alignment 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