org.jfree.chart.renderer.xy
public class VectorRenderer extends AbstractXYItemRenderer implements XYItemRenderer, Cloneable, PublicCloneable, Serializable
VectorPlotDemo1.java
program included in the JFreeChart demo collection:
Since: 1.0.6
| Constructor Summary | |
|---|---|
| VectorRenderer()
Creates a new XYBlockRenderer instance with default
attributes. | |
| Method Summary | |
|---|---|
| Object | clone()
Returns a clone of this renderer.
|
| void | drawItem(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)
Draws the block representing the specified item.
|
| boolean | equals(Object obj)
Tests this VectorRenderer for equality with an arbitrary
object. |
| Range | findDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the
specified dataset.
|
| Range | findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
XYBlockRenderer instance with default
attributes.Returns: A clone of this renderer.
Throws: CloneNotSupportedException if there is a problem creating the clone.
Parameters: g2 the graphics device. state the state. dataArea the data area. info the plot rendering info. plot the plot. domainAxis the x-axis. rangeAxis the y-axis. dataset the dataset. series the series index. item the item index. crosshairState the crosshair state. pass the pass index.
VectorRenderer for equality with an arbitrary
object. This method returns true if and only if:
obj is an instance of VectorRenderer (not
null);obj has the same field values as this
VectorRenderer;Parameters: obj the object (null permitted).
Returns: A boolean.
Parameters: dataset the dataset (null permitted).
Returns: The range (null if the dataset is null
or empty).
Parameters: dataset the dataset (null permitted).
Returns: The range (null if the dataset is null
or empty).