Class TLcdFrequencyUnit

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

public class TLcdFrequencyUnit extends Object
This class defines frequency unit constants.
  • Field Details

  • Method Details

    • getUnitName

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

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

      public double getToHertzFactor()
      Returns the factor to apply to convert a frequency expressed in the TLcdFrequencyUnit into a frequency in hertz.
      Returns:
      the factor to apply to convert a frequency expressed in the TLcdFrequencyUnit into a frequency in hertz
    • getAllFrequencyUnits

      public static TLcdFrequencyUnit[] getAllFrequencyUnits()
      Returns all TLcdFrequencyUnit objects to consider in a JVM session.
      Returns:
      all TLcdFrequencyUnit objects to consider in a JVM session
    • setAllFrequencyUnits

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

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