public static enum SoUnits.UnitsType extends java.lang.Enum<SoUnits.UnitsType> implements IntegerValuedEnum
Enum Constant and Description |
---|
ANGSTROMS
ANGSTROMS.
|
CENTIMETERS
CENTIMETERS.
|
FEET
FEET.
|
INCHES
INCHES.
|
KILOMETERS
KILOMETERS.
|
METERS
METERS.
|
MICROMETERS
MICROMETERS.
|
MICRONS
MICRONS.
|
MILES
MILES.
|
MILLIMETERS
MILLIMETERS.
|
NANOMETERS
NANOMETERS.
|
NAUTICAL_MILES
NAUTICAL_MILES.
|
POINTS
POINTS.
|
YARDS
YARDS.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoUnits.UnitsType |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoUnits.UnitsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoUnits.UnitsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoUnits.UnitsType METERS
public static final SoUnits.UnitsType CENTIMETERS
public static final SoUnits.UnitsType MILLIMETERS
public static final SoUnits.UnitsType MICROMETERS
public static final SoUnits.UnitsType MICRONS
public static final SoUnits.UnitsType NANOMETERS
public static final SoUnits.UnitsType ANGSTROMS
public static final SoUnits.UnitsType KILOMETERS
public static final SoUnits.UnitsType FEET
public static final SoUnits.UnitsType INCHES
public static final SoUnits.UnitsType POINTS
public static final SoUnits.UnitsType YARDS
public static final SoUnits.UnitsType MILES
public static final SoUnits.UnitsType NAUTICAL_MILES
public static SoUnits.UnitsType[] values()
for (SoUnits.UnitsType c : SoUnits.UnitsType.values()) System.out.println(c);
public static SoUnits.UnitsType 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 SoUnits.UnitsType valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com