org.jfree.chart.renderer

Class WaferMapRenderer

public class WaferMapRenderer extends AbstractRenderer

A renderer for wafer map plots. Provides color managment facilities.
Field Summary
static intPOSITION_INDEX
default multivalue paint calculation
static intVALUE_INDEX
The default value index.
Constructor Summary
WaferMapRenderer()
Creates a new renderer.
WaferMapRenderer(int paintLimit, int paintIndexMethod)
Creates a new renderer.
WaferMapRenderer(Integer paintLimit, Integer paintIndexMethod)
Creates a new renderer.
Method Summary
PaintgetChipColor(Number value)
Returns the paint for a given chip value.
DrawingSuppliergetDrawingSupplier()
Returns the drawing supplier from the plot.
LegendItemCollectiongetLegendCollection()
Builds the list of legend entries. called by getLegendItems in WaferMapPlot to populate the plot legend.
WaferMapPlotgetPlot()
Returns the plot.
voidsetPlot(WaferMapPlot plot)
Sets the plot and build the paint index.

Field Detail

POSITION_INDEX

public static final int POSITION_INDEX
default multivalue paint calculation

VALUE_INDEX

public static final int VALUE_INDEX
The default value index.

Constructor Detail

WaferMapRenderer

public WaferMapRenderer()
Creates a new renderer.

WaferMapRenderer

public WaferMapRenderer(int paintLimit, int paintIndexMethod)
Creates a new renderer.

Parameters: paintLimit the paint limit. paintIndexMethod the paint index method.

WaferMapRenderer

public WaferMapRenderer(Integer paintLimit, Integer paintIndexMethod)
Creates a new renderer.

Parameters: paintLimit the paint limit. paintIndexMethod the paint index method.

Method Detail

getChipColor

public Paint getChipColor(Number value)
Returns the paint for a given chip value.

Parameters: value the value.

Returns: The paint.

getDrawingSupplier

public DrawingSupplier getDrawingSupplier()
Returns the drawing supplier from the plot.

Returns: The drawing supplier.

getLegendCollection

public LegendItemCollection getLegendCollection()
Builds the list of legend entries. called by getLegendItems in WaferMapPlot to populate the plot legend.

Returns: The legend items.

getPlot

public WaferMapPlot getPlot()
Returns the plot.

Returns: The plot.

setPlot

public void setPlot(WaferMapPlot plot)
Sets the plot and build the paint index.

Parameters: plot the plot.