public static enum Style.Unit extends java.lang.Enum<Style.Unit>
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getType() |
static Style.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Style.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style.Unit PX
public static final Style.Unit PCT
public static final Style.Unit EM
public static final Style.Unit EX
public static final Style.Unit PT
public static final Style.Unit PC
public static final Style.Unit IN
public static final Style.Unit CM
public static final Style.Unit MM
public static Style.Unit[] values()
for (Style.Unit c : Style.Unit.values()) System.out.println(c);
public static Style.Unit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.lang.String getType()