Class MultiColumnStatistic

    • Constructor Detail

      • MultiColumnStatistic

        public MultiColumnStatistic()
    • Method Detail

      • setStatistics

        public void setStatistics​(AbstractColumnStatistic[] value)
        Sets the statistic generators to use.
        Parameters:
        value - the generators
      • getStatistics

        public AbstractColumnStatistic[] getStatistics()
        Returns the statistic generators in use.
        Returns:
        the generators
      • statisticsTipText

        public String statisticsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • preVisit

        protected void preVisit​(SpreadSheet sheet,
                                int colIndex)
        Performs initialization before the cells are being visited.
        Specified by:
        preVisit in class AbstractColumnStatistic
        Parameters:
        sheet - the spreadsheet to generate the stats for
        colIndex - the column index
      • doVisit

        protected void doVisit​(Row row,
                               int colIndex)
        Gets called with every row in the spreadsheet for generating the stats.
        Specified by:
        doVisit in class AbstractColumnStatistic
        Parameters:
        row - the current row
        colIndex - the column index
      • postVisit

        protected SpreadSheet postVisit​(SpreadSheet sheet,
                                        int colIndex)
        Finishes up the stats generation after all the cells have been visited.
        Specified by:
        postVisit in class AbstractColumnStatistic
        Parameters:
        sheet - the spreadsheet to generate the stats for
        colIndex - the column index
        Returns:
        the generated stats