Enum TemplateValue.ValueType
- All Implemented Interfaces:
-
Serializable
,Comparable<TemplateValue.ValueType>
,java.lang.constant.Constable
- Enclosing class:
- TemplateValue
Enum of sizing value types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionType which represents relative auto value.Type which represents auto-repeat value.Type which presents fit content function value.Type which represents fixed repeat value.Type which represents relative flexible value.Type which represents relative max content value.Type which represents relative min content value.Type which represents minmax function value.Type which represents relative percent value.Type which represents absolute point value. -
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateValue.ValueType
Returns the enum constant of this type with the specified name.static TemplateValue.ValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
POINT
Type which represents absolute point value. -
PERCENT
Type which represents relative percent value. -
AUTO
Type which represents relative auto value. -
MIN_CONTENT
Type which represents relative min content value. -
MAX_CONTENT
Type which represents relative max content value. -
FIT_CONTENT
Type which presents fit content function value. -
MINMAX
Type which represents minmax function value. -
FLEX
Type which represents relative flexible value. -
FIXED_REPEAT
Type which represents fixed repeat value. -
AUTO_REPEAT
Type which represents auto-repeat value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
-
IllegalArgumentException
- if this enum type has no constant with the specified name -
NullPointerException
- if the argument is null
-