public class

WaferMapPlot

extends Plot
implements Serializable Cloneable RendererChangeListener
java.lang.Object
   ↳ org.jfree.chart.plot.Plot
     ↳ org.jfree.chart.plot.WaferMapPlot

Class Overview

A wafer map plot.

Summary

Constants
boolean DEFAULT_CROSSHAIR_VISIBLE The default crosshair visibility.
[Expand]
Inherited Constants
From class org.jfree.chart.plot.Plot
Fields
public static final Paint DEFAULT_CROSSHAIR_PAINT The default crosshair paint.
public static final Stroke DEFAULT_CROSSHAIR_STROKE The default crosshair stroke.
public static final Paint DEFAULT_GRIDLINE_PAINT The default grid line paint.
public static final Stroke DEFAULT_GRIDLINE_STROKE The default grid line stroke.
protected static ResourceBundle localizationResources The resourceBundle for the localization.
[Expand]
Inherited Fields
From class org.jfree.chart.plot.Plot
Public Constructors
WaferMapPlot()
Creates a new plot with no dataset.
WaferMapPlot(WaferMapDataset dataset)
Creates a new plot.
WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer)
Creates a new plot.
Public Methods
void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState state, PlotRenderingInfo info)
Draws the wafermap view.
WaferMapDataset getDataset()
Returns the dataset
LegendItemCollection getLegendItems()
Return the legend items from the renderer.
String getPlotType()
Returns the plot type as a string.
void rendererChanged(RendererChangeEvent event)
Notifies all registered listeners of a renderer change.
void setDataset(WaferMapDataset dataset)
Sets the dataset used by the plot and sends a PlotChangeEvent to all registered listeners.
void setRenderer(WaferMapRenderer renderer)
Sets the item renderer, and notifies all listeners of a change to the plot.
Protected Methods
void drawChipGrid(Graphics2D g2, Rectangle2D plotArea)
Calculates and draws the chip locations on the wafer.
void drawWaferEdge(Graphics2D g2, Rectangle2D plotArea)
Draws the waferedge, including the notch.
Ellipse2D getWaferEdge(Rectangle2D plotArea)
Calculates the location of the waferedge.
[Expand]
Inherited Methods
From class org.jfree.chart.plot.Plot
From class java.lang.Object
From interface org.jfree.chart.LegendItemSource
From interface org.jfree.chart.event.AxisChangeListener
From interface org.jfree.chart.event.MarkerChangeListener
From interface org.jfree.chart.event.RendererChangeListener
From interface org.jfree.data.general.DatasetChangeListener

Constants

public static final boolean DEFAULT_CROSSHAIR_VISIBLE

The default crosshair visibility.

Constant Value: false

Fields

public static final Paint DEFAULT_CROSSHAIR_PAINT

The default crosshair paint.

public static final Stroke DEFAULT_CROSSHAIR_STROKE

The default crosshair stroke.

public static final Paint DEFAULT_GRIDLINE_PAINT

The default grid line paint.

public static final Stroke DEFAULT_GRIDLINE_STROKE

The default grid line stroke.

protected static ResourceBundle localizationResources

The resourceBundle for the localization.

Public Constructors

public WaferMapPlot ()

Creates a new plot with no dataset.

public WaferMapPlot (WaferMapDataset dataset)

Creates a new plot.

Parameters
dataset the dataset (null permitted).

public WaferMapPlot (WaferMapDataset dataset, WaferMapRenderer renderer)

Creates a new plot.

Parameters
dataset the dataset (null permitted).
renderer the renderer (null permitted).

Public Methods

public void draw (Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState state, PlotRenderingInfo info)

Draws the wafermap view.

Parameters
g2 the graphics device.
area the plot area.
anchor the anchor point (null permitted).
state the plot state.
info the plot rendering info.

public WaferMapDataset getDataset ()

Returns the dataset

Returns
  • The dataset (possibly null).

public LegendItemCollection getLegendItems ()

Return the legend items from the renderer.

Returns
  • The legend items.

public String getPlotType ()

Returns the plot type as a string.

Returns
  • A short string describing the type of plot.

public void rendererChanged (RendererChangeEvent event)

Notifies all registered listeners of a renderer change.

Parameters
event the event.

public void setDataset (WaferMapDataset dataset)

Sets the dataset used by the plot and sends a PlotChangeEvent to all registered listeners.

Parameters
dataset the dataset (null permitted).

public void setRenderer (WaferMapRenderer renderer)

Sets the item renderer, and notifies all listeners of a change to the plot. If the renderer is set to null, no chart will be drawn.

Parameters
renderer the new renderer (null permitted).

Protected Methods

protected void drawChipGrid (Graphics2D g2, Rectangle2D plotArea)

Calculates and draws the chip locations on the wafer.

Parameters
g2 the graphics device.
plotArea the plot area.

protected void drawWaferEdge (Graphics2D g2, Rectangle2D plotArea)

Draws the waferedge, including the notch.

Parameters
g2 the graphics device.
plotArea the plot area.

protected Ellipse2D getWaferEdge (Rectangle2D plotArea)

Calculates the location of the waferedge.

Parameters
plotArea the plot area.
Returns
  • The wafer edge.