public static enum LayoutSize.AspectRatioFit extends Enum<LayoutSize.AspectRatioFit>
Enum Constant and Description |
---|
AspectRatioFitGrow |
AspectRatioFitShrink |
Modifier and Type | Method and Description |
---|---|
static LayoutSize.AspectRatioFit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutSize.AspectRatioFit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutSize.AspectRatioFit AspectRatioFitShrink
public static final LayoutSize.AspectRatioFit AspectRatioFitGrow
public static LayoutSize.AspectRatioFit[] values()
for (LayoutSize.AspectRatioFit c : LayoutSize.AspectRatioFit.values()) System.out.println(c);
public static LayoutSize.AspectRatioFit 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