Class AbstractErrorPaintlet

    • Constructor Detail

      • AbstractErrorPaintlet

        public AbstractErrorPaintlet()
    • Method Detail

      • getPlotterPanel

        public SequencePlotterPanel getPlotterPanel()
        Returns the plotter panel.
        Returns:
        the plotter panel
      • getColor

        public Color getColor​(int index)
        Returns the color for the data with the given index.
        Parameters:
        index - the index of the spectrum
        Returns:
        the color for the spectrum
      • drawData

        protected abstract void drawData​(Graphics g,
                                         SequencePlotSequence data,
                                         Color color)
        Draws the error data with the given color.
        Parameters:
        g - the graphics context
        data - the error data to draw
        color - the color to draw in