org.jfree.chart.plot
public class WaferMapPlot extends Plot implements RendererChangeListener, Cloneable, Serializable
Field Summary | |
---|---|
static Paint | DEFAULT_CROSSHAIR_PAINT The default crosshair paint. |
static Stroke | DEFAULT_CROSSHAIR_STROKE The default crosshair stroke. |
static boolean | DEFAULT_CROSSHAIR_VISIBLE The default crosshair visibility. |
static Paint | DEFAULT_GRIDLINE_PAINT The default grid line paint. |
static Stroke | DEFAULT_GRIDLINE_STROKE The default grid line stroke. |
protected static ResourceBundle | localizationResources The resourceBundle for the localization. |
Constructor Summary | |
---|---|
WaferMapPlot()
Creates a new plot with no dataset. | |
WaferMapPlot(WaferMapDataset dataset)
Creates a new plot.
| |
WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer)
Creates a new plot.
|
Method Summary | |
---|---|
void | draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState state, PlotRenderingInfo info)
Draws the wafermap view.
|
protected void | drawChipGrid(Graphics2D g2, Rectangle2D plotArea)
Calculates and draws the chip locations on the wafer.
|
protected void | drawWaferEdge(Graphics2D g2, Rectangle2D plotArea)
Draws the waferedge, including the notch.
|
WaferMapDataset | getDataset()
Returns the dataset
|
LegendItemCollection | getLegendItems()
Return the legend items from the renderer.
|
String | getPlotType()
Returns the plot type as a string.
|
protected Ellipse2D | getWaferEdge(Rectangle2D plotArea)
Calculates the location of the waferedge.
|
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. |
Parameters: dataset the dataset (null
permitted).
Parameters: dataset the dataset (null
permitted). renderer the renderer (null
permitted).
Parameters: g2 the graphics device. area the plot area. anchor the anchor point (null
permitted). state the plot state. info the plot rendering info.
Parameters: g2 the graphics device. plotArea the plot area.
Parameters: g2 the graphics device. plotArea the plot area.
Returns: The dataset (possibly null
).
Returns: The legend items.
Returns: A short string describing the type of plot.
Parameters: plotArea the plot area.
Returns: The wafer edge.
Parameters: event the event.
Parameters: dataset the dataset (null
permitted).
null
, no chart will be
drawn.
Parameters: renderer the new renderer (null
permitted).