Enum Constant and Description |
---|
BasicMeasuringUnit
0,02117 mm(1/1200 of 25,4 mm)
|
Character
The dimensions of this unit are device-dependent
|
ComputerDecipoint
0,03528 mm(1/720 of 25,4 mm)
|
Decididot
0,03759 mm(10/266 mm)
|
Decipoint
0,03514 mm(35/996 mm)
|
Micrometre
0,001 mm
|
Mil
0,0254 mm(1/1000 of 25,4 mm)
|
Millimetre
Millimetre
|
Nonstandard
Don't define in Standart
|
Pixel
The smallest increment that can be specified in a device
|
Modifier and Type | Method and Description |
---|---|
static paramSSU |
getEnumValue(int val)
Returns enum-value by int-value.
|
static int |
getIntValue(paramSSU val)
Returns int-value, which is corresponded to enum-value.
|
static paramSSU |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static paramSSU[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final paramSSU Character
public static final paramSSU Millimetre
public static final paramSSU ComputerDecipoint
public static final paramSSU Decididot
public static final paramSSU Mil
public static final paramSSU BasicMeasuringUnit
public static final paramSSU Micrometre
public static final paramSSU Pixel
public static final paramSSU Decipoint
public static final paramSSU Nonstandard
public static paramSSU[] values()
for (paramSSU c : paramSSU.values()) System.out.println(c);
public static paramSSU 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 nullpublic static int getIntValue(paramSSU val)
val
- enum-valuepublic static paramSSU getEnumValue(int val)
val
- int-value