public static enum Style.UnitType extends Enum<Style.UnitType>
| Modifier and Type | Method and Description |
|---|---|
static Style.UnitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Style.UnitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style.UnitType Px
public static final Style.UnitType Pct
public static final Style.UnitType Em
public static final Style.UnitType Auto
public static Style.UnitType[] values()
for (Style.UnitType c : Style.UnitType.values()) System.out.println(c);
public static Style.UnitType 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 nullCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.