public static enum Length.Type extends Enum<Length.Type>
Enum Constant and Description |
---|
Auto |
Calculated |
Default |
FillAvailable |
FitContent |
Fixed |
Fraction |
Intrinsic |
MaxContent |
MinContent |
MinIntrinsic |
Percent |
Relative |
RootRelative |
Undefined |
Modifier and Type | Method and Description |
---|---|
static Length.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Length.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Length.Type Percent
public static final Length.Type Relative
public static final Length.Type RootRelative
public static final Length.Type Fixed
public static final Length.Type Default
public static final Length.Type Auto
public static final Length.Type Intrinsic
public static final Length.Type MinIntrinsic
public static final Length.Type MinContent
public static final Length.Type MaxContent
public static final Length.Type FillAvailable
public static final Length.Type FitContent
public static final Length.Type Calculated
public static final Length.Type Fraction
public static final Length.Type Undefined
public static Length.Type[] values()
for (Length.Type c : Length.Type.values()) System.out.println(c);
public static Length.Type 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