org.jfree.chart.plot
Class WaferMapPlot
- Cloneable, EventListener, AxisChangeListener, DatasetChangeListener, LegendItemSource, MarkerChangeListener, PublicCloneable, RendererChangeListener, Serializable
A wafer map plot.
DEFAULT_BACKGROUND_ALPHA , DEFAULT_BACKGROUND_PAINT , DEFAULT_FOREGROUND_ALPHA , DEFAULT_INSETS , DEFAULT_LEGEND_ITEM_BOX , DEFAULT_LEGEND_ITEM_CIRCLE , DEFAULT_OUTLINE_PAINT , DEFAULT_OUTLINE_STROKE , MINIMUM_HEIGHT_TO_DRAW , MINIMUM_WIDTH_TO_DRAW , ZERO |
addChangeListener , axisChanged , clone , datasetChanged , draw , drawBackground , drawBackgroundImage , drawNoDataMessage , drawOutline , equals , fillBackground , getBackgroundAlpha , getBackgroundImage , getBackgroundImageAlignment , getBackgroundImageAlpha , getBackgroundPaint , getDatasetGroup , getDrawingSupplier , getForegroundAlpha , getInsets , getLegendItems , getNoDataMessage , getNoDataMessageFont , getNoDataMessagePaint , getOutlinePaint , getOutlineStroke , getParent , getPlotType , getRectX , getRectY , getRootPlot , handleClick , isSubplot , markerChanged , notifyListeners , removeChangeListener , resolveDomainAxisLocation , resolveRangeAxisLocation , setBackgroundAlpha , setBackgroundImage , setBackgroundImageAlignment , setBackgroundImageAlpha , setBackgroundPaint , setDatasetGroup , setDrawingSupplier , setForegroundAlpha , setInsets , setInsets , setNoDataMessage , setNoDataMessageFont , setNoDataMessagePaint , setOutlinePaint , setOutlineStroke , setParent , zoom |
localizationResources
protected static ResourceBundle localizationResources
The resourceBundle for the localization.
WaferMapPlot
public WaferMapPlot()
Creates a new plot with no dataset.
draw
public void draw(Graphics2D g2,
Rectangle2D area,
Point2D anchor,
PlotState state,
PlotRenderingInfo info)
Draws the wafermap view.
- draw in interface Plot
g2
- the graphics device.area
- the plot area.anchor
- the anchor point (null
permitted).state
- the plot state.info
- the plot rendering info.
drawChipGrid
protected void drawChipGrid(Graphics2D g2,
Rectangle2D plotArea)
Calculates and draws the chip locations on the wafer.
g2
- the graphics device.plotArea
- the plot area.
drawWaferEdge
protected void drawWaferEdge(Graphics2D g2,
Rectangle2D plotArea)
Draws the waferedge, including the notch.
g2
- the graphics device.plotArea
- the plot area.
getPlotType
public String getPlotType()
Returns the plot type as a string.
- getPlotType in interface Plot
- A short string describing the type of plot.
getWaferEdge
protected Ellipse2D getWaferEdge(Rectangle2D plotArea)
Calculates the location of the waferedge.
plotArea
- the plot area.
setRenderer
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.
renderer
- the new renderer (null
permitted).