Class LabelCounts

    • Constructor Detail

      • LabelCounts

        public LabelCounts()
    • Method Detail

      • setPrefix

        public void setPrefix​(String value)
        Sets the prefix to use for the labels.
        Parameters:
        value - the prefix
      • getPrefix

        public String getPrefix()
        Returns the prefix to use for the labels.
        Returns:
        the prefix
      • prefixTipText

        public String prefixTipText()
        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 rowIndex)
        Performs initialization before the cells are being visited.
        Specified by:
        preVisit in class AbstractRowStatistic
        Parameters:
        sheet - the spreadsheet to generate the stats for
        rowIndex - the row 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 AbstractRowStatistic
        Parameters:
        row - the current row
        colIndex - the column index
      • postVisit

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