Class AbstractPlotColumn

    • Constructor Detail

      • AbstractPlotColumn

        public AbstractPlotColumn()
    • Method Detail

      • check

        protected String check​(SpreadSheetTable table,
                               SpreadSheet sheet,
                               int column)
        Hook method for checks before attempting the plot.
        Parameters:
        table - the source table
        sheet - the spreadsheet to use as basis
        column - the column in the spreadsheet
        Returns:
        null if passed, otherwise error message
      • doPlotColumn

        protected abstract boolean doPlotColumn​(SpreadSheetTable table,
                                                SpreadSheet sheet,
                                                int column)
        Plots the specified column.
        Parameters:
        table - the source table
        sheet - the spreadsheet to use as basis
        column - the column in the spreadsheet
        Returns:
        true if successful
      • plotColumn

        public boolean plotColumn​(SpreadSheetTable table,
                                  SpreadSheet sheet,
                                  int column)
        Plots the specified column.
        Parameters:
        table - the source table
        sheet - the spreadsheet to use as basis
        column - the column in the spreadsheet
        Returns:
        true if successful