Class CategorySetDataCollector

java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractFunction
org.pentaho.plugin.jfreereport.reportcharts.collectors.AbstractCollectorFunction
org.pentaho.plugin.jfreereport.reportcharts.collectors.CategorySetDataCollector
All Implemented Interfaces:
Serializable, Cloneable, EventListener, org.pentaho.reporting.engine.classic.core.event.ReportListener, org.pentaho.reporting.engine.classic.core.function.Expression, org.pentaho.reporting.engine.classic.core.function.Function

public class CategorySetDataCollector extends AbstractCollectorFunction
A slimmed down CategorySet Data collector. It collects a value for each series given.
Author:
Thomas Morgner.
See Also:
  • Constructor Details

    • CategorySetDataCollector

      public CategorySetDataCollector()
  • Method Details

    • getCategoryColumn

      public String getCategoryColumn()
    • setCategoryColumn

      public void setCategoryColumn(String categoryColumn)
    • setValueColumn

      public void setValueColumn(int index, String field)
    • getValueColumn

      public String getValueColumn(int index)
    • getValueColumnCount

      public int getValueColumnCount()
    • getValueColumn

      public String[] getValueColumn()
    • setValueColumn

      public void setValueColumn(String[] fields)
    • createNewDataset

      protected org.jfree.data.general.Dataset createNewDataset()
      Specified by:
      createNewDataset in class AbstractCollectorFunction
    • buildDataset

      protected void buildDataset()
      Overrides:
      buildDataset in class AbstractCollectorFunction
    • getInstance

      public org.pentaho.reporting.engine.classic.core.function.Expression getInstance()
      Return a completly separated copy of this function. The copy does no longer share any changeable objects with the original function.
      Specified by:
      getInstance in interface org.pentaho.reporting.engine.classic.core.function.Expression
      Overrides:
      getInstance in class AbstractCollectorFunction
      Returns:
      a copy of this function.