public static enum ConstraintWidget.DimensionBehaviour extends java.lang.Enum<ConstraintWidget.DimensionBehaviour>
| Enum Constant and Description |
|---|
FIXED |
MATCH_CONSTRAINT |
MATCH_PARENT |
WRAP_CONTENT |
| Modifier and Type | Method and Description |
|---|---|
static ConstraintWidget.DimensionBehaviour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintWidget.DimensionBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintWidget.DimensionBehaviour FIXED
public static final ConstraintWidget.DimensionBehaviour WRAP_CONTENT
public static final ConstraintWidget.DimensionBehaviour MATCH_CONSTRAINT
public static final ConstraintWidget.DimensionBehaviour MATCH_PARENT
public static ConstraintWidget.DimensionBehaviour[] values()
for (ConstraintWidget.DimensionBehaviour c : ConstraintWidget.DimensionBehaviour.values()) System.out.println(c);
public static ConstraintWidget.DimensionBehaviour 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