Class ColorContourJPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Observer, Accessible, UnitsComponent

public class ColorContourJPanel extends JPanel implements Observer, UnitsComponent
See Also:
  • Constructor Details

    • ColorContourJPanel

      public ColorContourJPanel()
  • Method Details

    • setDataRecord

      public void setDataRecord(ColorContourRecord data)
    • update

      public void update(Observable o, Object arg)
      Specified by:
      update in interface Observer
    • getDataRecord

      public ColorContourRecord getDataRecord()
    • paintScale

      public void paintScale()
    • setDrawTics

      public void setDrawTics(boolean b)
    • setDisplayScaleFactor

      public void setDisplayScaleFactor(int paramId, double scaleValue)
      Description copied from interface: UnitsComponent
      Sets a scaling factor to use when displaying the data.
      Specified by:
      setDisplayScaleFactor in interface UnitsComponent
      Parameters:
      paramId - This is the identifier of the paramater to scale. If the data is not of this type then it is ignored
      scaleValue - This is the scaling factor *to* be multiplied to the value when it is rendered
    • setDisplayUnitsSystem

      public void setDisplayUnitsSystem(int unitSys)
      Description copied from interface: UnitsComponent
      Sets the current Unit System for this object
      Specified by:
      setDisplayUnitsSystem in interface UnitsComponent
    • getDisplayUnitsString

      public String getDisplayUnitsString(int unitSys)
      Description copied from interface: UnitsComponent
      This method allows the retrieves the units string for a given units system
      Specified by:
      getDisplayUnitsString in interface UnitsComponent
      See Also:
    • getPanelValues

      public JPanel getPanelValues()