|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.renderer.AbstractRenderer
org.jfree.chart.renderer.AbstractXYItemRenderer
org.jfree.chart.renderer.XYBubbleRenderer
A renderer that draws a circle at each data point. The renderer expects the dataset to be an
XYZDataset
.
Field Summary | |
static int |
SCALE_ON_BOTH_AXES
A useful constant. |
static int |
SCALE_ON_DOMAIN_AXIS
A useful constant. |
static int |
SCALE_ON_RANGE_AXIS
A useful constant. |
Fields inherited from class org.jfree.chart.renderer.AbstractRenderer |
DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, DEFAULT_PAINT, DEFAULT_SHAPE, DEFAULT_STROKE, DEFAULT_VALUE_LABEL_FONT, DEFAULT_VALUE_LABEL_PAINT, ZERO |
Constructor Summary | |
XYBubbleRenderer()
Constructs a new renderer. |
|
XYBubbleRenderer(int scaleType)
Constructs a new renderer. |
|
XYBubbleRenderer(int scaleType,
XYZToolTipGenerator toolTipGenerator,
XYZURLGenerator urlGenerator)
Deprecated. Use default constructor. |
Method Summary | |
java.lang.Object |
clone()
Returns a clone of the renderer. |
void |
drawItem(java.awt.Graphics2D g2,
XYItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
XYPlot plot,
ValueAxis domainAxis,
ValueAxis rangeAxis,
XYDataset dataset,
int series,
int item,
CrosshairInfo crosshairInfo,
int pass)
Draws the visual representation of a single data item. |
int |
getScaleType()
Returns the scale type. |
Methods inherited from class org.jfree.chart.renderer.AbstractXYItemRenderer |
drawDomainGridLine, drawDomainMarker, drawRangeGridLine, drawRangeMarker, equals, fillDomainGridBand, fillRangeGridBand, getDrawingSupplier, getLegendItem, getPassCount, getPlot, getRangeType, getToolTipGenerator, getURLGenerator, initialise, setPlot, setToolTipGenerator, setURLGenerator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SCALE_ON_BOTH_AXES
public static final int SCALE_ON_DOMAIN_AXIS
public static final int SCALE_ON_RANGE_AXIS
Constructor Detail |
public XYBubbleRenderer()
public XYBubbleRenderer(int scaleType)
scaleType
- the type of scaling.public XYBubbleRenderer(int scaleType, XYZToolTipGenerator toolTipGenerator, XYZURLGenerator urlGenerator)
scaleType
- the type of scaling.toolTipGenerator
- the tool-tip generator (null
permitted).urlGenerator
- the URL generator (null
permitted).Method Detail |
public int getScaleType()
public void drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairInfo crosshairInfo, int pass)
drawItem
in interface XYItemRenderer
g2
- the graphics device.state
- the renderer state.dataArea
- the area within which the data is being drawn.info
- collects information about the drawing.plot
- the plot (can be used to obtain standard color information etc).domainAxis
- the domain (horizontal) axis.rangeAxis
- the range (vertical) axis.dataset
- the dataset.series
- the series index (zero-based).item
- the item index (zero-based).crosshairInfo
- information about crosshairs on a plot.pass
- the pass index.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface org.jfree.util.PublicCloneable
clone
in class AbstractXYItemRenderer
java.lang.CloneNotSupportedException
- if the renderer cannot be cloned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |