Class JRDesignThermometerPlot

All Implemented Interfaces:
Serializable, Cloneable, JRChartPlot, JRThermometerPlot, JRChangeEventsSupport, JRCloneable

public class JRDesignThermometerPlot extends JRBaseThermometerPlot
The layout options of a thermometer chart.
Author:
Barry Klawans (bklawans@users.sourceforge.net)
See Also:
  • Field Details

  • Constructor Details

    • JRDesignThermometerPlot

      public JRDesignThermometerPlot(JRChartPlot plot, JRChart chart)
      Constructs a new plot that is a copy of an existing one.
      Parameters:
      plot - the plot to copy
  • Method Details

    • setDataRange

      public void setDataRange(JRDataRange dataRange)
      Sets the range of values that can be displayed by this thermometer. Specifies the upper and lower bounds of the display area of the meter.
      Parameters:
      dataRange - the range of values to display
    • setValueDisplay

      public void setValueDisplay(JRValueDisplay valueDisplay)
      Sets the formatting option for the textual display of the value.
      Parameters:
      valueDisplay - the value display formatting options
    • setValueLocation

      public void setValueLocation(ValueLocationEnum valueLocationObject)
      Sets where to show the textual display of the value.
      Parameters:
      valueLocationObject - where to show the textual display of the value
    • setMercuryColor

      public void setMercuryColor(Color mercuryColor)
      Sets the default color of the mercury in the thermometer. This color will be used when the value is not in a specified range.
      Parameters:
      mercuryColor - the default color of the mercury
    • setLowRange

      public void setLowRange(JRDataRange lowRange)
      Specifies the low range of the thermometer.
      Parameters:
      lowRange - the low range of the thermometer
    • setMediumRange

      public void setMediumRange(JRDataRange mediumRange)
      Specifies the medium range of the thermometer.
      Parameters:
      mediumRange - the medium range of the thermometer
    • setHighRange

      public void setHighRange(JRDataRange highRange)
      Specifies the high range of the thermometer.
      Parameters:
      highRange - the high range of the thermometer