Class XYLineAndShapeRenderer.State

    • Field Detail

      • seriesPath

        public java.awt.geom.GeneralPath seriesPath
        The path for the current series.
      • lastPointGood

        private boolean lastPointGood
        A flag that indicates if the last (x, y) point was 'good' (non-null).
    • Constructor Detail

      • State

        public State​(PlotRenderingInfo info)
        Creates a new state instance.
        Parameters:
        info - the plot rendering info.
    • Method Detail

      • isLastPointGood

        public boolean isLastPointGood()
        Returns a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).
        Returns:
        A boolean.
      • setLastPointGood

        public void setLastPointGood​(boolean good)
        Sets a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).
        Parameters:
        good - the flag.
      • startSeriesPass

        public void startSeriesPass​(XYDataset dataset,
                                    int series,
                                    int firstItem,
                                    int lastItem,
                                    int pass,
                                    int passCount)
        This method is called by the XYPlot at the start of each series pass. We reset the state for the current series.
        Overrides:
        startSeriesPass in class XYItemRendererState
        Parameters:
        dataset - the dataset.
        series - the series index.
        firstItem - the first item index for this pass.
        lastItem - the last item index for this pass.
        pass - the current pass index.
        passCount - the number of passes.
        See Also:
        XYItemRendererState.endSeriesPass(XYDataset, int, int, int, int, int)