java.lang.Object
net.sf.dynamicreports.report.base.chart.plot.DRMeterPlot
All Implemented Interfaces:
Serializable, DRIMeterPlot, DRIPlot

public class DRMeterPlot extends Object implements DRIMeterPlot

DRMeterPlot class.

Author:
Ricardo Mariaca
See Also:
  • Constructor Details

    • DRMeterPlot

      public DRMeterPlot()

      Constructor for DRMeterPlot.

  • Method Details

    • getDataRangeLowExpression

      public DRIExpression<? extends Number> getDataRangeLowExpression()

      getDataRangeLowExpression.

      Specified by:
      getDataRangeLowExpression in interface DRIMeterPlot
      Returns:
      a DRIExpression object.
    • setDataRangeLowExpression

      public void setDataRangeLowExpression(DRIExpression<? extends Number> dataRangeLowExpression)

      Setter for the field dataRangeLowExpression.

      Parameters:
      dataRangeLowExpression - a DRIExpression object.
    • getDataRangeHighExpression

      public DRIExpression<? extends Number> getDataRangeHighExpression()

      getDataRangeHighExpression.

      Specified by:
      getDataRangeHighExpression in interface DRIMeterPlot
      Returns:
      a DRIExpression object.
    • setDataRangeHighExpression

      public void setDataRangeHighExpression(DRIExpression<? extends Number> dataRangeHighExpression)

      Setter for the field dataRangeHighExpression.

      Parameters:
      dataRangeHighExpression - a DRIExpression object.
    • getValueColor

      public Color getValueColor()

      getValueColor.

      Specified by:
      getValueColor in interface DRIMeterPlot
      Returns:
      a Color object.
    • setValueColor

      public void setValueColor(Color valueColor)

      Setter for the field valueColor.

      Parameters:
      valueColor - a Color object.
    • getValueMask

      public String getValueMask()

      getValueMask.

      Specified by:
      getValueMask in interface DRIMeterPlot
      Returns:
      a String object.
    • setValueMask

      public void setValueMask(String valueMask)

      Setter for the field valueMask.

      Parameters:
      valueMask - a String object.
    • getValueFont

      public DRFont getValueFont()

      getValueFont.

      Specified by:
      getValueFont in interface DRIMeterPlot
      Returns:
      a DRIFont object.
    • setValueFont

      public void setValueFont(DRFont valueFont)

      Setter for the field valueFont.

      Parameters:
      valueFont - a DRFont object.
    • getShape

      public MeterShape getShape()

      getShape.

      Specified by:
      getShape in interface DRIMeterPlot
      Returns:
      a MeterShape object.
    • setShape

      public void setShape(MeterShape shape)

      Setter for the field shape.

      Parameters:
      shape - a MeterShape object.
    • getIntervals

      public List<DRIMeterInterval> getIntervals()

      getIntervals.

      Specified by:
      getIntervals in interface DRIMeterPlot
      Returns:
      a List object.
    • setIntervals

      public void setIntervals(List<DRIMeterInterval> intervals)

      Setter for the field intervals.

      Parameters:
      intervals - a List object.
    • addInterval

      public void addInterval(DRIMeterInterval interval)

      addInterval.

      Parameters:
      interval - a DRIMeterInterval object.
    • getMeterAngle

      public Integer getMeterAngle()

      getMeterAngle.

      Specified by:
      getMeterAngle in interface DRIMeterPlot
      Returns:
      a Integer object.
    • setMeterAngle

      public void setMeterAngle(Integer meterAngle)

      Setter for the field meterAngle.

      Parameters:
      meterAngle - a Integer object.
    • getUnits

      public String getUnits()

      getUnits.

      Specified by:
      getUnits in interface DRIMeterPlot
      Returns:
      a String object.
    • setUnits

      public void setUnits(String units)

      Setter for the field units.

      Parameters:
      units - a String object.
    • getTickInterval

      public Double getTickInterval()

      getTickInterval.

      Specified by:
      getTickInterval in interface DRIMeterPlot
      Returns:
      a Double object.
    • setTickInterval

      public void setTickInterval(Double tickInterval)

      Setter for the field tickInterval.

      Parameters:
      tickInterval - a Double object.
    • getMeterBackgroundColor

      public Color getMeterBackgroundColor()

      getMeterBackgroundColor.

      Specified by:
      getMeterBackgroundColor in interface DRIMeterPlot
      Returns:
      a Color object.
    • setMeterBackgroundColor

      public void setMeterBackgroundColor(Color meterBackgroundColor)

      Setter for the field meterBackgroundColor.

      Parameters:
      meterBackgroundColor - a Color object.
    • getNeedleColor

      public Color getNeedleColor()

      getNeedleColor.

      Specified by:
      getNeedleColor in interface DRIMeterPlot
      Returns:
      a Color object.
    • setNeedleColor

      public void setNeedleColor(Color needleColor)

      Setter for the field needleColor.

      Parameters:
      needleColor - a Color object.
    • getTickColor

      public Color getTickColor()

      getTickColor.

      Specified by:
      getTickColor in interface DRIMeterPlot
      Returns:
      a Color object.
    • setTickColor

      public void setTickColor(Color tickColor)

      Setter for the field tickColor.

      Parameters:
      tickColor - a Color object.
    • getTickLabelFont

      public DRFont getTickLabelFont()

      getTickLabelFont.

      Specified by:
      getTickLabelFont in interface DRIMeterPlot
      Returns:
      a DRIFont object.
    • setTickLabelFont

      public void setTickLabelFont(DRFont tickLabelFont)

      Setter for the field tickLabelFont.

      Parameters:
      tickLabelFont - a DRFont object.