Class ScaledDialScale
- java.lang.Object
-
- org.jfree.chart.plot.dial.AbstractDialLayer
-
- org.jfree.chart.plot.dial.StandardDialScale
-
- net.sf.jasperreports.chartthemes.spring.ScaledDialScale
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jfree.chart.plot.dial.DialLayer
,org.jfree.chart.plot.dial.DialScale
,org.jfree.chart.util.PublicCloneable
public class ScaledDialScale extends org.jfree.chart.plot.dial.StandardDialScale
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScaledDialScale()
ScaledDialScale(double lowerBound, double upperBound, double startAngle, double extent, double majorTickIncrement, int minorTickCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(Graphics2D g2, org.jfree.chart.plot.dial.DialPlot plot, Rectangle2D frame, Rectangle2D view)
Draws the scale on the dial plot.-
Methods inherited from class org.jfree.chart.plot.dial.StandardDialScale
angleToValue, clone, equals, getExtent, getFirstTickLabelVisible, getLowerBound, getMajorTickIncrement, getMajorTickLength, getMajorTickPaint, getMajorTickStroke, getMinorTickCount, getMinorTickLength, getMinorTickPaint, getMinorTickStroke, getStartAngle, getTickLabelFont, getTickLabelFormatter, getTickLabelOffset, getTickLabelPaint, getTickLabelsVisible, getTickRadius, getUpperBound, hashCode, isClippedToWindow, setExtent, setFirstTickLabelVisible, setLowerBound, setMajorTickIncrement, setMajorTickLength, setMajorTickPaint, setMajorTickStroke, setMinorTickCount, setMinorTickLength, setMinorTickPaint, setMinorTickStroke, setStartAngle, setTickLabelFont, setTickLabelFormatter, setTickLabelOffset, setTickLabelPaint, setTickLabelsVisible, setTickRadius, setUpperBound, valueToAngle
-
Methods inherited from class org.jfree.chart.plot.dial.AbstractDialLayer
addChangeListener, hasListener, isVisible, notifyListeners, removeChangeListener, setVisible
-
-
-
-
Constructor Detail
-
ScaledDialScale
public ScaledDialScale()
-
ScaledDialScale
public ScaledDialScale(double lowerBound, double upperBound, double startAngle, double extent, double majorTickIncrement, int minorTickCount)
- Parameters:
lowerBound
-upperBound
-startAngle
-extent
-majorTickIncrement
-minorTickCount
-
-
-
Method Detail
-
draw
public void draw(Graphics2D g2, org.jfree.chart.plot.dial.DialPlot plot, Rectangle2D frame, Rectangle2D view)
Draws the scale on the dial plot.- Specified by:
draw
in interfaceorg.jfree.chart.plot.dial.DialLayer
- Overrides:
draw
in classorg.jfree.chart.plot.dial.StandardDialScale
- Parameters:
g2
- the graphics target (null
not permitted).plot
- the dial plot (null
not permitted).frame
- the reference frame that is used to construct the geometry of the plot (null
not permitted).view
- the visible part of the plot (null
not permitted).
-
-