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.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 voiddraw(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:
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).
-
-