org.jfree.chart.renderer.category
public class AreaRenderer extends AbstractCategoryItemRenderer implements Cloneable, PublicCloneable, Serializable
Constructor Summary | |
---|---|
AreaRenderer()
Creates a new renderer. |
Method Summary | |
---|---|
Object | clone()
Returns an independent copy of the renderer.
|
void | drawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass)
Draw a single data item.
|
boolean | equals(Object obj)
Tests this instance for equality with an arbitrary object.
|
AreaRendererEndType | getEndType()
Returns a token that controls how the renderer draws the end points.
|
LegendItem | getLegendItem(int datasetIndex, int series)
Returns a legend item for a series.
|
void | setEndType(AreaRendererEndType type)
Sets a token that controls how the renderer draws the end points, and
sends a RendererChangeEvent to all registered listeners.
|
Returns: A clone.
Throws: CloneNotSupportedException should not happen.
Parameters: g2 the graphics device. state the renderer state. dataArea the data plot area. plot the plot. domainAxis the domain axis. rangeAxis the range axis. dataset the dataset. row the row index (zero-based). column the column index (zero-based). pass the pass index.
Parameters: obj the object to test (null
permitted).
Returns: A boolean.
Returns: The end type (never null
).
See Also: AreaRenderer
Parameters: datasetIndex the dataset index (zero-based). series the series index (zero-based).
Returns: The legend item.
Parameters: type the end type (null
not permitted).
See Also: getEndType