Class DefaultFlow

    • Constructor Detail

      • DefaultFlow

        public DefaultFlow()
    • Method Detail

      • setStage

        public void setStage​(SpreadSheetColumnIndex value)
        Sets the stage column.
        Parameters:
        value - the column
      • stageTipText

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

        public void setSource​(SpreadSheetColumnIndex value)
        Sets the source column.
        Parameters:
        value - the column
      • sourceTipText

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

        public void setTarget​(SpreadSheetColumnIndex value)
        Sets the target column.
        Parameters:
        value - the column
      • targetTipText

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

        public void setFlow​(SpreadSheetColumnIndex value)
        Sets the flow/weight column.
        Parameters:
        value - the column
      • flowTipText

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

        public Class<? extends org.jfree.data.general.Dataset> generates()
        Returns the class of dataset that it generates.
        Specified by:
        generates in class AbstractDatasetGenerator<org.jfree.data.flow.DefaultFlowDataset<String>>
        Returns:
        the dataset class
      • check

        protected String check​(SpreadSheet data)
        Hook method for checks before generating the dataset.
        Overrides:
        check in class AbstractDatasetGenerator<org.jfree.data.flow.DefaultFlowDataset<String>>
        Parameters:
        data - the data to use
        Returns:
        null if checks passed, otherwise error message
      • doGenerate

        protected org.jfree.data.flow.DefaultFlowDataset<String> doGenerate​(SpreadSheet data)
        Performs the actual generation of the dataset.
        Specified by:
        doGenerate in class AbstractDatasetGenerator<org.jfree.data.flow.DefaultFlowDataset<String>>
        Parameters:
        data - the data to use
        Returns:
        the dataset
      • doAddSeries

        protected org.jfree.data.flow.DefaultFlowDataset<String> doAddSeries​(org.jfree.data.general.Dataset dataset,
                                                                             SpreadSheet data)
        Performs the actual addition of the series to the dataset.
        Specified by:
        doAddSeries in class AbstractDatasetGenerator<org.jfree.data.flow.DefaultFlowDataset<String>>
        Parameters:
        dataset - the dataset to add the series to
        data - the data to use
        Returns:
        the updated dataset