public static enum Style.TrackSizeRestriction extends Enum<Style.TrackSizeRestriction>
Enum Constant and Description |
---|
AllowInfinity |
ForbidInfinity |
Modifier and Type | Method and Description |
---|---|
static Style.TrackSizeRestriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Style.TrackSizeRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style.TrackSizeRestriction AllowInfinity
public static final Style.TrackSizeRestriction ForbidInfinity
public static Style.TrackSizeRestriction[] values()
for (Style.TrackSizeRestriction c : Style.TrackSizeRestriction.values()) System.out.println(c);
public static Style.TrackSizeRestriction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullRevision 4.0.15 / 20220727-0149