Class WaferMapRenderer

java.lang.Object
org.jfree.chart.renderer.AbstractRenderer
org.jfree.chart.renderer.WaferMapRenderer
All Implemented Interfaces:
Serializable, Cloneable

public class WaferMapRenderer
extends AbstractRenderer
A renderer for wafer map plots. Provides color managment facilities.
Author:
Robert Redburn.
See Also:
Serialized Form
  • Field Details

    • POSITION_INDEX

      public static final int POSITION_INDEX
      default multivalue paint calculation
      See Also:
      Constant Field Values
    • VALUE_INDEX

      public static final int VALUE_INDEX
      The default value index.
      See Also:
      Constant Field Values
  • Constructor Details

    • WaferMapRenderer

      public WaferMapRenderer()
      Creates a new renderer.
    • WaferMapRenderer

      public WaferMapRenderer​(int paintLimit, int paintIndexMethod)
      Creates a new renderer.
      Parameters:
      paintLimit - the paint limit.
      paintIndexMethod - the paint index method.
    • WaferMapRenderer

      public WaferMapRenderer​(Integer paintLimit, Integer paintIndexMethod)
      Creates a new renderer.
      Parameters:
      paintLimit - the paint limit.
      paintIndexMethod - the paint index method.
  • Method Details

    • getDrawingSupplier

      public DrawingSupplier getDrawingSupplier()
      Returns the drawing supplier from the plot.
      Specified by:
      getDrawingSupplier in class AbstractRenderer
      Returns:
      the drawing supplier.
    • getPlot

      public WaferMapPlot getPlot()
      Returns the plot.
      Returns:
      the plot.
    • setPlot

      public void setPlot​(WaferMapPlot plot)
      Sets the plot and build the paint index.
      Parameters:
      plot - the plot.
    • getChipColor

      public Paint getChipColor​(Number value)
      Returns the paint for a given chip value.
      Parameters:
      value - the value.
      Returns:
      the paint.
    • getLegendCollection

      public LegendItemCollection getLegendCollection()
      Builds the list of legend entries. called by getLegendItems in WaferMapPlot to populate the plot legend.
      Returns:
      the legend items.