Package ome.xml.model.enums
Enum Class UnitsLength
- All Implemented Interfaces:
Serializable,Comparable<UnitsLength>,Constable,Enumeration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionångström SI-derived unit.astronomical unit SI-derived unit.attometer SI unit.centimeter SI unit.decameter SI unit.decimeter SI unit.exameter SI unit.femtometer SI unit.foot Imperial unit.gigameter SI unit.hectometer SI unit.inch Imperial unit.kilometer SI unit.light year.line Imperial unit (1/12 inch).megameter SI unit.meter SI unit.micrometer SI unit.terrestrial mile Imperial unit.millimeter SI unit.nanometer SI unit.parsec.petameter SI unit.picometer SI unit.pixel abstract unit.typography point Imperial-derived unit (1/72 inch).reference frame abstract unit.terameter SI unit.thou Imperial unit (or mil, 1/1000 inch).yard Imperial unit.yoctometer SI unit.yottameter SI unit.zeptometer SI unit.zettameter SI unit. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends PrimitiveNumber>
Lengthcreate(T newValue, UnitsLength newUnit) static UnitsLengthfromString(String value) getValue()toString()static UnitsLengthReturns the enum constant of this class with the specified name.static UnitsLength[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
YOTTAMETER
yottameter SI unit. -
ZETTAMETER
zettameter SI unit. -
EXAMETER
exameter SI unit. -
PETAMETER
petameter SI unit. -
TERAMETER
terameter SI unit. -
GIGAMETER
gigameter SI unit. -
MEGAMETER
megameter SI unit. -
KILOMETER
kilometer SI unit. -
HECTOMETER
hectometer SI unit. -
DECAMETER
decameter SI unit. -
METER
meter SI unit. -
DECIMETER
decimeter SI unit. -
CENTIMETER
centimeter SI unit. -
MILLIMETER
millimeter SI unit. -
MICROMETER
micrometer SI unit. -
NANOMETER
nanometer SI unit. -
PICOMETER
picometer SI unit. -
FEMTOMETER
femtometer SI unit. -
ATTOMETER
attometer SI unit. -
ZEPTOMETER
zeptometer SI unit. -
YOCTOMETER
yoctometer SI unit. -
ANGSTROM
ångström SI-derived unit. -
THOU
thou Imperial unit (or mil, 1/1000 inch). -
LINE
line Imperial unit (1/12 inch). -
INCH
inch Imperial unit. -
FOOT
foot Imperial unit. -
YARD
yard Imperial unit. -
MILE
terrestrial mile Imperial unit. -
ASTRONOMICALUNIT
astronomical unit SI-derived unit. The official term is ua as the SI standard assigned AU to absorbance unit. -
LIGHTYEAR
light year. -
PARSEC
parsec. -
POINT
typography point Imperial-derived unit (1/72 inch). Use of this unit should be limited to font sizes. -
PIXEL
pixel abstract unit. This is not convertible to any other length unit without a calibrated scaling factor. Its use should should be limited to ROI objects, and converted to an appropriate length units using the PhysicalSize units of the Image the ROI is attached to. -
REFERENCEFRAME
reference frame abstract unit. This is not convertible to any other length unit without a scaling factor. Its use should be limited to uncalibrated stage positions, and converted to an appropriate length unit using a calibrated scaling factor.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
- Throws:
EnumerationException
-
getValue
-
toString
- Overrides:
toStringin classEnum<UnitsLength>
-
create
-
create
-