Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.chart.plot.Plot
org.jfree.chart.plot.WaferMapPlot
Field Summary | |
static Paint |
|
static Stroke |
|
static boolean |
|
static Paint |
|
static Stroke |
|
protected static ResourceBundle |
|
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 | |
| |
| |
|
Method Summary | |
void |
|
protected void |
|
protected void |
|
WaferMapDataset |
|
LegendItemCollection |
|
String |
|
protected Ellipse2D |
|
void |
|
void |
|
void |
|
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 boolean DEFAULT_CROSSHAIR_VISIBLE
The default crosshair visibility.
- Field Value:
- false
public static final Stroke DEFAULT_GRIDLINE_STROKE
The default grid line stroke.
protected static ResourceBundle localizationResources
The resourceBundle for the localization.
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 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.
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.
public WaferMapDataset getDataset()
Returns the dataset
- Returns:
- The dataset (possibly
null
).
public LegendItemCollection getLegendItems()
Return the legend items from the renderer.
- Specified by:
- getLegendItems in interface LegendItemSource
- Overrides:
- getLegendItems in interface Plot
- Returns:
- The legend items.
public String getPlotType()
Returns the plot type as a string.
- Overrides:
- getPlotType in interface Plot
- Returns:
- A short string describing the type of plot.
protected Ellipse2D getWaferEdge(Rectangle2D plotArea)
Calculates the location of the waferedge.
- Parameters:
plotArea
- the plot area.
- Returns:
- The wafer edge.
public void rendererChanged(RendererChangeEvent event)
Notifies all registered listeners of a renderer change.
- Specified by:
- rendererChanged in interface RendererChangeListener
- Parameters:
event
- the event.
public void setDataset(WaferMapDataset dataset)
Sets the dataset used by the plot and sends aPlotChangeEvent
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 tonull
, no chart will be drawn.
- Parameters:
renderer
- the new renderer (null
permitted).