public static enum Dimensions.Units extends Enum<Dimensions.Units>
Modifier and Type | Method and Description |
---|---|
static Dimensions.Units |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dimensions.Units[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dimensions.Units MM
public static final Dimensions.Units PT
public static final Dimensions.Units PX
public static Dimensions.Units[] values()
for (Dimensions.Units c : Dimensions.Units.values()) System.out.println(c);
public static Dimensions.Units 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.6 / 20190918-0454