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