Class AbstractScatterPlotOverlay

    • Field Detail

      • m_Parent

        protected transient AbstractScatterPlot m_Parent
        parent scatter plot to plot data on
      • m_Data

        protected SpreadSheet m_Data
        Instances object containing data
      • m_Thickness

        protected float m_Thickness
        Thickness for overlay line
      • m_Color

        protected Color m_Color
        Color of the overlay
    • Constructor Detail

      • AbstractScatterPlotOverlay

        public AbstractScatterPlotOverlay()
    • Method Detail

      • getDefaultThickness

        protected float getDefaultThickness()
        Returns the default thickness.
        Returns:
        the default
      • setThickness

        public void setThickness​(float value)
        Set the thickness of the overlay.
        Parameters:
        value - Thickness in pixels
      • getThickness

        public float getThickness()
        Get the thickness of the overlay.
        Returns:
        Thickness in pixels
      • thicknessTipText

        public String thicknessTipText()
        Return a tip text for the thickness property.
        Returns:
        Tip text string
      • getDefaultColor

        protected Color getDefaultColor()
        Returns the default color.
        Returns:
        the default
      • setColor

        public void setColor​(Color value)
        Set the color for this overlay.
        Parameters:
        value - Color of overlay
      • getColor

        public Color getColor()
        Get the color for this overlay.
        Returns:
        Color used for overlay
      • colorTipText

        public String colorTipText()
        Tip text for the color property
        Returns:
        String describing the property
      • setUp

        public abstract void setUp()
        set up the overlay and its paintlet.
      • getParent

        protected AbstractScatterPlot getParent()
        Return the scatter plot parent the overlay is being drawn on.
        Returns:
        scatter plot
      • setParent

        public void setParent​(AbstractScatterPlot val)
        Set the scatterplot that this overlay is being drawn on.
      • inst

        public void inst​(SpreadSheet inst)
        Pass the instances to the overlay object
        Parameters:
        inst - Instances to be plotted
      • getPaintlet

        public AbstractOverlayPaintlet getPaintlet()
        Get the paintlet that is doing the drawing
        Returns:
        paintlet doing the drawing
      • name

        public String name()
        Returns a string to display info on the overlay
      • shallowCopy

        public AbstractScatterPlotOverlay shallowCopy()
        Returns a shallow copy of itself, i.e., based on the commandline options.
        Returns:
        the shallow copy
      • shallowCopy

        public AbstractScatterPlotOverlay shallowCopy​(boolean expand)
        Returns a shallow copy of itself, i.e., based on the commandline options.
        Returns:
        the shallow copy