public static enum Layout.Alignment extends 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(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.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, obfuscatedName, ordinal, toString, valueOf, valueOf
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(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 © 2018. All rights reserved.