Interface UnitsComponent

All Known Implementing Classes:
AccessTable, AxisLabel, ColorContourJPanel, ColorTable, G2dBarPlot, G2dPanel, HecDataTable, HotPlotPanel, JLayerSelectorTreePanel, RmaJCheckBox, RmaJDecimalField, RmaJIntegerField, RmaJLabel, RmaJLongField, RmaJRadioButton, RmaJTable

public interface UnitsComponent
This is an interface for GUI components that use a units system to measure its data.
Since:
December 6, 2000
  • Method Summary

    Modifier and Type
    Method
    Description
    getDisplayUnitsString(int unitSystem)
    This method allows the retrieves the units string for a given units system
    void
    setDisplayScaleFactor(int paramId, double scaleFactor)
    Sets a scaling factor to use when displaying the data.
    void
    setDisplayUnitsSystem(int unitSystem)
    Sets the current Unit System for this object
  • Method Details

    • getDisplayUnitsString

      String getDisplayUnitsString(int unitSystem)
      This method allows the retrieves the units string for a given units system
      See Also:
    • setDisplayUnitsSystem

      void setDisplayUnitsSystem(int unitSystem)
      Sets the current Unit System for this object
    • setDisplayScaleFactor

      void setDisplayScaleFactor(int paramId, double scaleFactor)
      Sets a scaling factor to use when displaying the data.
      Parameters:
      paramId - This is the identifier of the paramater to scale. If the data is not of this type then it is ignored
      scaleFactor - This is the scaling factor *to* be multiplied to the value when it is rendered