Class TLcdPowerUnit

java.lang.Object
com.luciad.ais.model.util.TLcdPowerUnit

public class TLcdPowerUnit extends Object
This class defines power unit constants.
  • Field Details

  • Method Details

    • getUnitName

      public String getUnitName()
      Returns the name of the TLcdPowerUnit (e.g. Watt, Kilohertz, etc ...).
      Returns:
      the name of the TLcdPowerUnit (e.g. Watt, Kilohertz, etc ...)
    • getUnitShortName

      public String getUnitShortName()
      Returns the short name of the TLcdPowerUnit (e.g. Hz, KHz, etc ...).
      Returns:
      the short name of the TLcdPowerUnit (e.g. Hz, KHz, etc ...)
    • getToWattFactor

      public double getToWattFactor()
      Returns the factor to apply to convert a power expressed in the TLcdPowerUnit into a power in Watt.
      Returns:
      the factor to apply to convert a power expressed in the TLcdPowerUnit into a power in Watt
    • getAllPowerUnits

      public static TLcdPowerUnit[] getAllPowerUnits()
      Returns all TLcdPowerUnit objects to consider in a JVM session.
      Returns:
      all TLcdPowerUnit objects to consider in a JVM session
    • setAllPowerUnits

      public static void setAllPowerUnits(TLcdPowerUnit[] aAllPowerUnitArray)
      Sets statically all TLcdPowerUnit objects to consider in a JVM session. Typically, this method should be called in the main of the application.
      Parameters:
      aAllPowerUnitArray - the power units to consider in a JVM session
    • toString

      public String toString()
      Returns the unit name.
      Overrides:
      toString in class Object
      Returns:
      the unit name