|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.plot.Plot de.laures.cewolf.jfree.WaferMapPlot
public class WaferMapPlot
A wafer map plot.
Field Summary |
---|
Fields inherited from class org.jfree.chart.plot.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 |
Constructor Summary | |
---|---|
WaferMapPlot()
Creates a new plot with no dataset. |
|
WaferMapPlot(org.jfree.data.general.WaferMapDataset dataset)
Creates a new plot. |
|
WaferMapPlot(org.jfree.data.general.WaferMapDataset dataset,
WaferMapRenderer renderer)
Creates a new plot. |
Method Summary | |
---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
org.jfree.chart.plot.PlotState state,
org.jfree.chart.plot.PlotRenderingInfo info)
Draws the wafermap view. |
protected void |
drawChipGrid(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea)
Calculates and draws the chip locations on the wafer. |
protected void |
drawWaferEdge(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea)
Draws the waferedge, including the notch. |
boolean |
equals(java.lang.Object obj)
Tests this plot for equality with another object. |
org.jfree.data.general.WaferMapDataset |
getDataset()
Returns the dataset |
org.jfree.chart.LegendItemCollection |
getLegendItems()
Return the legend items from the renderer. |
java.lang.String |
getPlotType()
Returns the plot type as a string. |
WaferMapRenderer |
getRenderer()
Returns the renderer for the primary dataset. |
protected java.awt.geom.Ellipse2D |
getWaferEdge(java.awt.geom.Rectangle2D plotArea)
Calculates the location of the waferedge. |
int |
hashCode()
|
void |
rendererChanged(org.jfree.chart.event.RendererChangeEvent event)
Implements the RendererChangeListener interface Notifies all registered listeners of a renderer change. |
void |
setDataset(org.jfree.data.general.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. |
void |
setShowCellValues(boolean showCellValues)
|
Methods inherited from class org.jfree.chart.plot.Plot |
---|
addChangeListener, axisChanged, clone, datasetChanged, drawBackground, drawBackgroundImage, drawNoDataMessage, drawOutline, fillBackground, fillBackground, fireChangeEvent, getBackgroundAlpha, getBackgroundImage, getBackgroundImageAlignment, getBackgroundImageAlpha, getBackgroundPaint, getDatasetGroup, getDrawingSupplier, getForegroundAlpha, getInsets, getNoDataMessage, getNoDataMessageFont, getNoDataMessagePaint, getOutlinePaint, getOutlineStroke, getParent, getRectX, getRectY, getRootPlot, handleClick, isOutlineVisible, isSubplot, markerChanged, notifyListeners, removeChangeListener, resolveDomainAxisLocation, resolveRangeAxisLocation, setBackgroundAlpha, setBackgroundImage, setBackgroundImageAlignment, setBackgroundImageAlpha, setBackgroundPaint, setDatasetGroup, setDrawingSupplier, setDrawingSupplier, setForegroundAlpha, setInsets, setInsets, setNoDataMessage, setNoDataMessageFont, setNoDataMessagePaint, setOutlinePaint, setOutlineStroke, setOutlineVisible, setParent, zoom |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WaferMapPlot()
public WaferMapPlot(org.jfree.data.general.WaferMapDataset dataset)
dataset
- the dataset (null
permitted).public WaferMapPlot(org.jfree.data.general.WaferMapDataset dataset, WaferMapRenderer renderer)
dataset
- the dataset (null
permitted).renderer
- the renderer (null
permitted).Method Detail |
---|
public void setShowCellValues(boolean showCellValues)
public java.lang.String getPlotType()
getPlotType
in class org.jfree.chart.plot.Plot
public org.jfree.data.general.WaferMapDataset getDataset()
null
).public void setDataset(org.jfree.data.general.WaferMapDataset dataset)
PlotChangeEvent
to all registered listeners.
dataset
- the dataset (null
permitted).public WaferMapRenderer getRenderer()
null
).setRenderer(WaferMapRenderer)
public void setRenderer(WaferMapRenderer renderer)
null
, no chart will be drawn.
renderer
- the new renderer (null
permitted).public void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area, java.awt.geom.Point2D anchor, org.jfree.chart.plot.PlotState state, org.jfree.chart.plot.PlotRenderingInfo info)
draw
in class org.jfree.chart.plot.Plot
g2
- the graphics device.area
- the plot area.anchor
- the anchor point (null
permitted).state
- the plot state.info
- the plot rendering info.protected void drawChipGrid(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea)
g2
- the graphics device.plotArea
- the plot area.protected java.awt.geom.Ellipse2D getWaferEdge(java.awt.geom.Rectangle2D plotArea)
plotArea
- the plot area.
protected void drawWaferEdge(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea)
g2
- the graphics device.plotArea
- the plot area.public org.jfree.chart.LegendItemCollection getLegendItems()
getLegendItems
in interface org.jfree.chart.LegendItemSource
getLegendItems
in class org.jfree.chart.plot.Plot
public void rendererChanged(org.jfree.chart.event.RendererChangeEvent event)
rendererChanged
in interface org.jfree.chart.event.RendererChangeListener
event
- the event.public boolean equals(java.lang.Object obj)
equals
in class org.jfree.chart.plot.Plot
obj
- the object (null
permitted).
true
or false
.public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |