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:
-
Constructor Summary
ConstructorsConstructorDescriptionScaledDialScale
(double lowerBound, double upperBound, double startAngle, double extent, double majorTickIncrement, int minorTickCount) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jfree.chart.plot.dial.DialLayer
addChangeListener, hasListener, isVisible, removeChangeListener
-
Constructor Details
-
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 Details
-
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).
-