org.odftoolkit.odfdom.dom.attribute.draw
public static enum DrawUnitAttribute.Value extends Enum<DrawUnitAttribute.Value>
Enum Constant and Description |
---|
AUTOMATIC |
CM |
FT |
INCH |
KM |
m |
MI |
MM |
PC |
PT |
Modifier and Type | Method and Description |
---|---|
static DrawUnitAttribute.Value |
enumValueOf(String value) |
String |
toString() |
static DrawUnitAttribute.Value |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrawUnitAttribute.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawUnitAttribute.Value AUTOMATIC
public static final DrawUnitAttribute.Value CM
public static final DrawUnitAttribute.Value FT
public static final DrawUnitAttribute.Value INCH
public static final DrawUnitAttribute.Value KM
public static final DrawUnitAttribute.Value m
public static final DrawUnitAttribute.Value MI
public static final DrawUnitAttribute.Value MM
public static final DrawUnitAttribute.Value PC
public static final DrawUnitAttribute.Value PT
public static DrawUnitAttribute.Value[] values()
for (DrawUnitAttribute.Value c : DrawUnitAttribute.Value.values()) System.out.println(c);
public static DrawUnitAttribute.Value 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 String toString()
toString
in class Enum<DrawUnitAttribute.Value>
public static DrawUnitAttribute.Value enumValueOf(String value)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.