Class WaferMapPlot

    • Constructor Detail

      • WaferMapPlot

        public WaferMapPlot()
        Creates a new plot with no dataset.
      • WaferMapPlot

        public WaferMapPlot​(WaferMapDataset dataset)
        Creates a new plot.
        Parameters:
        dataset - the dataset (null permitted).
    • Method Detail

      • getPlotType

        public java.lang.String getPlotType()
        Returns the plot type as a string.
        Specified by:
        getPlotType in class Plot
        Returns:
        A short string describing the type of plot.
      • setDataset

        public void setDataset​(WaferMapDataset dataset)
        Sets the dataset used by the plot and sends a PlotChangeEvent to all registered listeners.
        Parameters:
        dataset - the dataset (null permitted).
      • setRenderer

        public void setRenderer​(WaferMapRenderer renderer)
        Sets the item renderer, and notifies all listeners of a change to the plot. If the renderer is set to null, no chart will be drawn.
        Parameters:
        renderer - the new renderer (null permitted).
      • draw

        public void draw​(java.awt.Graphics2D g2,
                         java.awt.geom.Rectangle2D area,
                         java.awt.geom.Point2D anchor,
                         PlotState state,
                         PlotRenderingInfo info)
        Draws the wafermap view.
        Specified by:
        draw in class Plot
        Parameters:
        g2 - the graphics device.
        area - the plot area.
        anchor - the anchor point (null permitted).
        state - the plot state.
        info - the plot rendering info.
      • drawChipGrid

        protected void drawChipGrid​(java.awt.Graphics2D g2,
                                    java.awt.geom.Rectangle2D plotArea)
        Calculates and draws the chip locations on the wafer.
        Parameters:
        g2 - the graphics device.
        plotArea - the plot area.
      • getWaferEdge

        protected java.awt.geom.Ellipse2D getWaferEdge​(java.awt.geom.Rectangle2D plotArea)
        Calculates the location of the waferedge.
        Parameters:
        plotArea - the plot area.
        Returns:
        The wafer edge.
      • drawWaferEdge

        protected void drawWaferEdge​(java.awt.Graphics2D g2,
                                     java.awt.geom.Rectangle2D plotArea)
        Draws the waferedge, including the notch.
        Parameters:
        g2 - the graphics device.
        plotArea - the plot area.