jcfunc.parameters
Enum paramSSU

java.lang.Object
  extended by java.lang.Enum<paramSSU>
      extended by jcfunc.parameters.paramSSU
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<paramSSU>

public enum paramSSU
extends java.lang.Enum<paramSSU>

Enum paramSSU contains returned values for control function CF.SSU.


Enum Constant Summary
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
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Character

public static final paramSSU Character
The dimensions of this unit are device-dependent


Millimetre

public static final paramSSU Millimetre
Millimetre


ComputerDecipoint

public static final paramSSU ComputerDecipoint
0,03528 mm(1/720 of 25,4 mm)


Decididot

public static final paramSSU Decididot
0,03759 mm(10/266 mm)


Mil

public static final paramSSU Mil
0,0254 mm(1/1000 of 25,4 mm)


BasicMeasuringUnit

public static final paramSSU BasicMeasuringUnit
0,02117 mm(1/1200 of 25,4 mm)


Micrometre

public static final paramSSU Micrometre
0,001 mm


Pixel

public static final paramSSU Pixel
The smallest increment that can be specified in a device


Decipoint

public static final paramSSU Decipoint
0,03514 mm(35/996 mm)


Nonstandard

public static final paramSSU Nonstandard
Don't define in Standart

Method Detail

values

public static paramSSU[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (paramSSU c : paramSSU.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static paramSSU valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getIntValue

public static int getIntValue(paramSSU val)
Returns int-value, which is corresponded to enum-value.

Parameters:
val - enum-value
Returns:
int-value

getEnumValue

public static paramSSU getEnumValue(int val)
Returns enum-value by int-value.

Parameters:
val - int-value
Returns:
enum-value