Enum State.Constraint
- java.lang.Object
-
- java.lang.Enum<State.Constraint>
-
- androidx.constraintlayout.core.state.State.Constraint
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<State.Constraint>
- Enclosing class:
- State
public static enum State.Constraint extends java.lang.Enum<State.Constraint>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static State.ConstraintvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static State.Constraint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT_TO_LEFT
public static final State.Constraint LEFT_TO_LEFT
-
LEFT_TO_RIGHT
public static final State.Constraint LEFT_TO_RIGHT
-
RIGHT_TO_LEFT
public static final State.Constraint RIGHT_TO_LEFT
-
RIGHT_TO_RIGHT
public static final State.Constraint RIGHT_TO_RIGHT
-
START_TO_START
public static final State.Constraint START_TO_START
-
START_TO_END
public static final State.Constraint START_TO_END
-
END_TO_START
public static final State.Constraint END_TO_START
-
END_TO_END
public static final State.Constraint END_TO_END
-
TOP_TO_TOP
public static final State.Constraint TOP_TO_TOP
-
TOP_TO_BOTTOM
public static final State.Constraint TOP_TO_BOTTOM
-
BOTTOM_TO_TOP
public static final State.Constraint BOTTOM_TO_TOP
-
BOTTOM_TO_BOTTOM
public static final State.Constraint BOTTOM_TO_BOTTOM
-
BASELINE_TO_BASELINE
public static final State.Constraint BASELINE_TO_BASELINE
-
BASELINE_TO_TOP
public static final State.Constraint BASELINE_TO_TOP
-
BASELINE_TO_BOTTOM
public static final State.Constraint BASELINE_TO_BOTTOM
-
CENTER_HORIZONTALLY
public static final State.Constraint CENTER_HORIZONTALLY
-
CENTER_VERTICALLY
public static final State.Constraint CENTER_VERTICALLY
-
CIRCULAR_CONSTRAINT
public static final State.Constraint CIRCULAR_CONSTRAINT
-
-
Method Detail
-
values
public static State.Constraint[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (State.Constraint c : State.Constraint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static State.Constraint valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-