Enum Class CSSGridTracks.Kind
- All Implemented Interfaces:
Serializable, Comparable<CSSGridTracks.Kind>, Constable
- Enclosing class:
CSSGridTracks
The kind of one track or track function.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe keywordauto.The functionfit-content(length).A flexible length, a number with the unitfr.A length: a number with one ofCSSGridTracks.LENGTH_UNITS, or a unitless 0.The keywordmax-content.The keywordmin-content.The functionminmax(min,max).The functionrepeat(count,tracks).Method Summary
Modifier and TypeMethodDescriptionstatic CSSGridTracks.KindReturns the enum constant of this class with the specified name.static CSSGridTracks.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
LENGTH
A length: a number with one ofCSSGridTracks.LENGTH_UNITS, or a unitless 0.FLEX
A flexible length, a number with the unitfr.AUTO
The keywordauto.MIN_CONTENT
The keywordmin-content.MAX_CONTENT
The keywordmax-content.MINMAX
The functionminmax(min,max).FIT_CONTENT
The functionfit-content(length).REPEAT
The functionrepeat(count,tracks).
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null