Class ScatterPlotPanel

    • Field Detail

      • m_Data

        protected SpreadSheet m_Data
        Instances to be plotted
      • m_XIndex

        protected int m_XIndex
        index of attribute for x axis
      • m_YIndex

        protected int m_YIndex
        index of attribute for y axis
    • Constructor Detail

      • ScatterPlotPanel

        public ScatterPlotPanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class PlotPanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class PlotPanel
      • setData

        public void setData​(SpreadSheet value)
        set the data for the scatter plot panel.
        Parameters:
        value - data to be plotted
      • getData

        public SpreadSheet getData()
        Returns the data for the plot.
        Returns:
        the data
      • reset

        public void reset()
        Set up the scatter plot panel called by the calling class when all the fields have been set
      • setXIndex

        public void setXIndex​(int val)
        Set index of x attribute.
        Parameters:
        val - index of x attribute
      • getXIndex

        public int getXIndex()
        Returns the index of the X attribute.
        Returns:
        the index
      • setYIndex

        public void setYIndex​(int val)
        set the index of the y attribute.
        Parameters:
        val - index of y attribute
      • getYIndex

        public int getYIndex()
        Returns the index of the Y attribute.
        Returns:
        the index