public static enum RMDocument.Unit extends java.lang.Enum<RMDocument.Unit>
Modifier and Type | Method and Description |
---|---|
static RMDocument.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RMDocument.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMDocument.Unit Inch
public static final RMDocument.Unit Point
public static final RMDocument.Unit CM
public static final RMDocument.Unit MM
public static final RMDocument.Unit Pica
public static RMDocument.Unit[] values()
for (RMDocument.Unit c : RMDocument.Unit.values()) System.out.println(c);
public static RMDocument.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 null