Class JRBaseThermometerPlot

java.lang.Object
net.sf.jasperreports.charts.base.JRBaseChartPlot
net.sf.jasperreports.charts.base.JRBaseThermometerPlot
All Implemented Interfaces:
Serializable, Cloneable, JRChartPlot, JRThermometerPlot, JRChangeEventsSupport, JRCloneable
Direct Known Subclasses:
JRDesignThermometerPlot

public class JRBaseThermometerPlot extends JRBaseChartPlot implements JRThermometerPlot
An immutable representation of the layout of a thermometer plot.
Author:
Barry Klawans (bklawans@users.sourceforge.net)
See Also:
  • Field Details

    • dataRange

      protected JRDataRange dataRange
      The range of values that can be displayed by this thermometer. Specifies the upper and lower bounds of the meter itself.
    • valueDisplay

      protected JRValueDisplay valueDisplay
      Formatting information for the textual display of the value, including font, color and a mask.
    • valueLocationObject

      protected ValueLocationEnum valueLocationObject
      Specifies where the textual display of the value should be shown.
    • mercuryColor

      protected Color mercuryColor
      The default color to use for the mercury in the thermometer.
    • lowRange

      protected JRDataRange lowRange
      The boundaries of the low range.
    • mediumRange

      protected JRDataRange mediumRange
      The boundaries of the medium range.
    • highRange

      protected JRDataRange highRange
      The boundaries of the high range.
  • Constructor Details

    • JRBaseThermometerPlot

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

      public JRBaseThermometerPlot(JRThermometerPlot thermoPlot, ChartsBaseObjectFactory factory)
      Constructs a new plot that is a copy of an existing one, and registers all expression used by the plot with the specified factory.
      Parameters:
      thermoPlot - the plot to copy
      factory - the factory to register any expressions with
  • Method Details