public enum LayoutPassReason extends Enum<LayoutPassReason>
Enum Constant and Description |
---|
ABS_LAYOUT |
ABS_MEASURE |
FLEX_LAYOUT |
FLEX_MEASURE |
INITIAL |
MEASURE |
MULTILINE_STRETCH |
STRETCH |
Modifier and Type | Method and Description |
---|---|
static LayoutPassReason |
fromInt(int value) |
int |
intValue() |
static LayoutPassReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutPassReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutPassReason INITIAL
public static final LayoutPassReason ABS_LAYOUT
public static final LayoutPassReason STRETCH
public static final LayoutPassReason MULTILINE_STRETCH
public static final LayoutPassReason FLEX_LAYOUT
public static final LayoutPassReason MEASURE
public static final LayoutPassReason ABS_MEASURE
public static final LayoutPassReason FLEX_MEASURE
public static LayoutPassReason[] values()
for (LayoutPassReason c : LayoutPassReason.values()) System.out.println(c);
public static LayoutPassReason 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 nullpublic int intValue()
public static LayoutPassReason fromInt(int value)