public static enum Style.Unit extends Enum<Style.Unit>
Modifier and Type | Method and Description |
---|---|
abstract String |
getType() |
static Style.Unit |
valueOf(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.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf, valueOf
$isInstance
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(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 nullpublic abstract String getType()
Copyright © 2018. All rights reserved.