Enum CustomAttribute.AttributeType
- java.lang.Object
-
- java.lang.Enum<CustomAttribute.AttributeType>
-
- androidx.constraintlayout.core.motion.CustomAttribute.AttributeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CustomAttribute.AttributeType>
- Enclosing class:
- CustomAttribute
public static enum CustomAttribute.AttributeType extends java.lang.Enum<CustomAttribute.AttributeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN_TYPECOLOR_DRAWABLE_TYPECOLOR_TYPEDIMENSION_TYPEFLOAT_TYPEINT_TYPEREFERENCE_TYPESTRING_TYPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomAttribute.AttributeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CustomAttribute.AttributeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT_TYPE
public static final CustomAttribute.AttributeType INT_TYPE
-
FLOAT_TYPE
public static final CustomAttribute.AttributeType FLOAT_TYPE
-
COLOR_TYPE
public static final CustomAttribute.AttributeType COLOR_TYPE
-
COLOR_DRAWABLE_TYPE
public static final CustomAttribute.AttributeType COLOR_DRAWABLE_TYPE
-
STRING_TYPE
public static final CustomAttribute.AttributeType STRING_TYPE
-
BOOLEAN_TYPE
public static final CustomAttribute.AttributeType BOOLEAN_TYPE
-
DIMENSION_TYPE
public static final CustomAttribute.AttributeType DIMENSION_TYPE
-
REFERENCE_TYPE
public static final CustomAttribute.AttributeType REFERENCE_TYPE
-
-
Method Detail
-
values
public static CustomAttribute.AttributeType[] 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 (CustomAttribute.AttributeType c : CustomAttribute.AttributeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomAttribute.AttributeType 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
-
-