Enum State.Helper
- java.lang.Object
-
- java.lang.Enum<State.Helper>
-
- androidx.constraintlayout.core.state.State.Helper
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<State.Helper>
- Enclosing class:
- State
public static enum State.Helper extends java.lang.Enum<State.Helper>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALIGN_HORIZONTALLYALIGN_VERTICALLYBARRIERFLOWHORIZONTAL_CHAINLAYERVERTICAL_CHAIN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static State.HelpervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static State.Helper[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HORIZONTAL_CHAIN
public static final State.Helper HORIZONTAL_CHAIN
-
VERTICAL_CHAIN
public static final State.Helper VERTICAL_CHAIN
-
ALIGN_HORIZONTALLY
public static final State.Helper ALIGN_HORIZONTALLY
-
ALIGN_VERTICALLY
public static final State.Helper ALIGN_VERTICALLY
-
BARRIER
public static final State.Helper BARRIER
-
LAYER
public static final State.Helper LAYER
-
FLOW
public static final State.Helper FLOW
-
-
Method Detail
-
values
public static State.Helper[] 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.Helper c : State.Helper.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.Helper 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
-
-