public enum YLayoutStyle extends Enum<YLayoutStyle>
Enum Constant and Description |
---|
ABSOLUTE_FROM_BOTTOM |
ABSOLUTE_FROM_CENTER |
ABSOLUTE_FROM_TOP |
RELATIVE_TO_BOTTOM |
RELATIVE_TO_CENTER |
RELATIVE_TO_TOP |
Modifier and Type | Method and Description |
---|---|
static YLayoutStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YLayoutStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YLayoutStyle ABSOLUTE_FROM_TOP
public static final YLayoutStyle ABSOLUTE_FROM_BOTTOM
public static final YLayoutStyle ABSOLUTE_FROM_CENTER
public static final YLayoutStyle RELATIVE_TO_TOP
public static final YLayoutStyle RELATIVE_TO_BOTTOM
public static final YLayoutStyle RELATIVE_TO_CENTER
public static YLayoutStyle[] values()
for (YLayoutStyle c : YLayoutStyle.values()) System.out.println(c);
public static YLayoutStyle 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 null