Module platform

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 management facilities.
See Also:
  • Field Details

    • POSITION_INDEX

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

      public static final int VALUE_INDEX
      The default value index.
      See Also:
  • 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.