|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.plot.Plot
org.jfree.chart.plot.WaferMapPlot
A wafer map plot.
Field Summary | |
static java.awt.Paint |
DEFAULT_CROSSHAIR_PAINT
The default crosshair paint. |
static java.awt.Stroke |
DEFAULT_CROSSHAIR_STROKE
The default crosshair stroke. |
static boolean |
DEFAULT_CROSSHAIR_VISIBLE
The default crosshair visibility. |
static java.awt.Paint |
DEFAULT_GRIDLINE_PAINT
The default grid line paint. |
static java.awt.Stroke |
DEFAULT_GRIDLINE_STROKE
The default grid line stroke. |
protected static java.util.ResourceBundle |
localizationResources
The resourceBundle for the localization. |
Fields inherited from class org.jfree.chart.plot.Plot |
DEFAULT_BACKGROUND_ALPHA, DEFAULT_BACKGROUND_PAINT, DEFAULT_FOREGROUND_ALPHA, DEFAULT_INSETS, DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, MINIMUM_HEIGHT_TO_DRAW, MINIMUM_WIDTH_TO_DRAW, ZERO |
Constructor Summary | |
WaferMapPlot(WaferMapDataset dataset)
constructor with a dataset only |
|
WaferMapPlot(WaferMapDataset dataset,
WaferMapRenderer renderer)
Creates a new plot. |
Method Summary | |
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
PlotState state,
PlotRenderingInfo info)
Draws the wafermap view. |
WaferMapDataset |
getDataset()
Returns the dataset |
LegendItemCollection |
getLegendItems()
Return the legend items from the renderer. |
java.lang.String |
getPlotType()
Returns the plot type as a string. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
Notifies all registered listeners of a property change. |
void |
setRenderer(WaferMapRenderer renderer)
Sets the item renderer, and notifies all listeners of a change to the plot. |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.awt.Stroke DEFAULT_GRIDLINE_STROKE
public static final java.awt.Paint DEFAULT_GRIDLINE_PAINT
public static final boolean DEFAULT_CROSSHAIR_VISIBLE
public static final java.awt.Stroke DEFAULT_CROSSHAIR_STROKE
public static final java.awt.Paint DEFAULT_CROSSHAIR_PAINT
protected static java.util.ResourceBundle localizationResources
Constructor Detail |
public WaferMapPlot(WaferMapDataset dataset)
dataset
- public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer)
dataset
- the dataset (null
permitted).renderer
- the renderer (null
permitted).Method Detail |
public java.lang.String getPlotType()
getPlotType
in class Plot
public void setRenderer(WaferMapRenderer renderer)
If the renderer is set to null
, no chart will be drawn.
renderer
- the new renderer (null
permitted).public void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, PlotState state, PlotRenderingInfo info)
draw
in class Plot
g2
- the graphics device.plotArea
- the plot area.state
- the plot state.info
- the plot rendering info.public WaferMapDataset getDataset()
public LegendItemCollection getLegendItems()
getLegendItems
in class Plot
public void propertyChange(java.beans.PropertyChangeEvent event)
One source of property change events is the plot's renderer.
propertyChange
in interface java.beans.PropertyChangeListener
event
- information about the property change.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |