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 TypeMethodDescriptionvoiddraw(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, valueToAngleMethods inherited from class org.jfree.chart.plot.dial.AbstractDialLayer
addChangeListener, hasListener, isVisible, notifyListeners, removeChangeListener, setVisibleMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
drawin interfaceorg.jfree.chart.plot.dial.DialLayer- Overrides:
drawin classorg.jfree.chart.plot.dial.StandardDialScale- Parameters:
g2- the graphics target (nullnot permitted).plot- the dial plot (nullnot permitted).frame- the reference frame that is used to construct the geometry of the plot (nullnot permitted).view- the visible part of the plot (nullnot permitted).
-