Enum Class UnitsLength

java.lang.Object
java.lang.Enum<UnitsLength>
ome.xml.model.enums.UnitsLength
All Implemented Interfaces:
Serializable, Comparable<UnitsLength>, Constable, Enumeration

public enum UnitsLength extends Enum<UnitsLength> implements Enumeration
  • Enum Constant Details

    • YOTTAMETER

      public static final UnitsLength YOTTAMETER
      yottameter SI unit.
    • ZETTAMETER

      public static final UnitsLength ZETTAMETER
      zettameter SI unit.
    • EXAMETER

      public static final UnitsLength EXAMETER
      exameter SI unit.
    • PETAMETER

      public static final UnitsLength PETAMETER
      petameter SI unit.
    • TERAMETER

      public static final UnitsLength TERAMETER
      terameter SI unit.
    • GIGAMETER

      public static final UnitsLength GIGAMETER
      gigameter SI unit.
    • MEGAMETER

      public static final UnitsLength MEGAMETER
      megameter SI unit.
    • KILOMETER

      public static final UnitsLength KILOMETER
      kilometer SI unit.
    • HECTOMETER

      public static final UnitsLength HECTOMETER
      hectometer SI unit.
    • DECAMETER

      public static final UnitsLength DECAMETER
      decameter SI unit.
    • METER

      public static final UnitsLength METER
      meter SI unit.
    • DECIMETER

      public static final UnitsLength DECIMETER
      decimeter SI unit.
    • CENTIMETER

      public static final UnitsLength CENTIMETER
      centimeter SI unit.
    • MILLIMETER

      public static final UnitsLength MILLIMETER
      millimeter SI unit.
    • MICROMETER

      public static final UnitsLength MICROMETER
      micrometer SI unit.
    • NANOMETER

      public static final UnitsLength NANOMETER
      nanometer SI unit.
    • PICOMETER

      public static final UnitsLength PICOMETER
      picometer SI unit.
    • FEMTOMETER

      public static final UnitsLength FEMTOMETER
      femtometer SI unit.
    • ATTOMETER

      public static final UnitsLength ATTOMETER
      attometer SI unit.
    • ZEPTOMETER

      public static final UnitsLength ZEPTOMETER
      zeptometer SI unit.
    • YOCTOMETER

      public static final UnitsLength YOCTOMETER
      yoctometer SI unit.
    • ANGSTROM

      public static final UnitsLength ANGSTROM
      ångström SI-derived unit.
    • THOU

      public static final UnitsLength THOU
      thou Imperial unit (or mil, 1/1000 inch).
    • LINE

      public static final UnitsLength LINE
      line Imperial unit (1/12 inch).
    • INCH

      public static final UnitsLength INCH
      inch Imperial unit.
    • YARD

      public static final UnitsLength YARD
      yard Imperial unit.
    • MILE

      public static final UnitsLength MILE
      terrestrial mile Imperial unit.
    • ASTRONOMICALUNIT

      public static final UnitsLength ASTRONOMICALUNIT
      astronomical unit SI-derived unit. The official term is ua as the SI standard assigned AU to absorbance unit.
    • LIGHTYEAR

      public static final UnitsLength LIGHTYEAR
      light year.
    • PARSEC

      public static final UnitsLength PARSEC
      parsec.
    • POINT

      public static final UnitsLength POINT
      typography point Imperial-derived unit (1/72 inch). Use of this unit should be limited to font sizes.
    • PIXEL

      public static final UnitsLength 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

      public static final UnitsLength 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

      public static UnitsLength[] 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

      public static UnitsLength valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromString

      public static UnitsLength fromString(String value) throws EnumerationException
      Throws:
      EnumerationException
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<UnitsLength>
    • create

      public static <T extends PrimitiveNumber> Length create(T newValue, UnitsLength newUnit)
    • create

      public static <T extends Number> Length create(T newValue, UnitsLength newUnit)