public enum ResolutionUnit extends Enum<ResolutionUnit>
Resolution unit enum.
Enum Constant and Description |
---|
Cm
Metric centimeter units
|
Inch
Inch units
|
None
Undefined units
|
Modifier and Type | Method and Description |
---|---|
byte |
getType() |
static ResolutionUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolutionUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolutionUnit None
Undefined units
public static final ResolutionUnit Inch
Inch units
public static final ResolutionUnit Cm
Metric centimeter units
public static ResolutionUnit[] values()
for (ResolutionUnit c : ResolutionUnit.values()) System.out.println(c);
public static ResolutionUnit 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 byte getType()