Class BaseCollectorFunction
java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractFunction
org.pentaho.plugin.jfreereport.reportcharts.BaseCollectorFunction
- All Implemented Interfaces:
Serializable
,Cloneable
,EventListener
,ICollectorFunction
,org.pentaho.reporting.engine.classic.core.event.ReportListener
,org.pentaho.reporting.engine.classic.core.function.Expression
,org.pentaho.reporting.engine.classic.core.function.Function
- Direct Known Subclasses:
CategorySetCollectorFunction
,TimeSeriesCollectorFunction
,XYSeriesCollectorFunction
public abstract class BaseCollectorFunction
extends org.pentaho.reporting.engine.classic.core.function.AbstractFunction
implements ICollectorFunction
Creation-Date: 07.06.2007, 18:30:22
- Author:
- Gretchen Moran
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.jfree.data.general.Dataset
getGroup()
org.pentaho.reporting.engine.classic.core.function.Expression
Return a completly separated copy of this function.org.jfree.data.general.AbstractDataset
Deprecated.This is not a getter and is an internal function! Protected and should have a different name!String[]
getSeriesName
(int index) int
getValue()
void
groupStarted
(org.pentaho.reporting.engine.classic.core.event.ReportEvent event) boolean
boolean
void
reportInitialized
(org.pentaho.reporting.engine.classic.core.event.ReportEvent event) void
void
setResetGroup
(String resetGroup) void
setSeriesColumn
(boolean value) void
setSeriesName
(int index, String field) void
setSeriesName
(String[] fields) void
setSummaryOnly
(boolean value) Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
groupFinished, itemsAdvanced, itemsFinished, itemsStarted, reportDone, reportFinished, reportStarted, summaryRowSelection
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
-
Field Details
-
logger
protected static final org.apache.commons.logging.Log logger
-
-
Constructor Details
-
BaseCollectorFunction
protected BaseCollectorFunction()
-
-
Method Details
-
setSeriesName
-
getSeriesName
-
getSeriesNameCount
public int getSeriesNameCount() -
getSeriesName
-
setSeriesName
-
createNewDataset
protected org.jfree.data.general.Dataset createNewDataset() -
isSummaryOnly
public boolean isSummaryOnly() -
setSummaryOnly
public void setSummaryOnly(boolean value) -
isSeriesColumn
public boolean isSeriesColumn() -
setSeriesColumn
public void setSeriesColumn(boolean value) -
getGroup
- Specified by:
getGroup
in interfaceICollectorFunction
- Returns:
-
setGroup
-
getResetGroup
-
setResetGroup
-
getValue
- Specified by:
getValue
in interfaceorg.pentaho.reporting.engine.classic.core.function.Expression
- Specified by:
getValue
in interfaceICollectorFunction
- Returns:
- the dataset
-
getDatasourceValue
- Specified by:
getDatasourceValue
in interfaceICollectorFunction
-
reportInitialized
public void reportInitialized(org.pentaho.reporting.engine.classic.core.event.ReportEvent event) - Specified by:
reportInitialized
in interfaceorg.pentaho.reporting.engine.classic.core.event.ReportListener
- Overrides:
reportInitialized
in classorg.pentaho.reporting.engine.classic.core.function.AbstractFunction
-
groupStarted
public void groupStarted(org.pentaho.reporting.engine.classic.core.event.ReportEvent event) - Specified by:
groupStarted
in interfaceorg.pentaho.reporting.engine.classic.core.event.ReportListener
- Overrides:
groupStarted
in classorg.pentaho.reporting.engine.classic.core.function.AbstractFunction
-
getInstance
public org.pentaho.reporting.engine.classic.core.function.Expression getInstance()Return a completly separated copy of this function. The copy no longer shares any changeable objects with the original function. Also from Thomas: Should retain data from the report definition, but clear calculated data.- Specified by:
getInstance
in interfaceorg.pentaho.reporting.engine.classic.core.function.Expression
- Overrides:
getInstance
in classorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
- Returns:
- a copy of this function.
-
getCacheKey
- Specified by:
getCacheKey
in interfaceICollectorFunction
-
getNewDataset
public org.jfree.data.general.AbstractDataset getNewDataset()Deprecated.This is not a getter and is an internal function! Protected and should have a different name!- Returns:
-