public abstract class AbstractFunction extends AbstractExpression implements Function
Modifier | Constructor and Description |
---|---|
protected |
AbstractFunction()
Creates an unnamed function.
|
protected |
AbstractFunction(String name)
Creates an named function.
|
Modifier and Type | Method and Description |
---|---|
void |
groupFinished(ReportEvent event)
Receives notification that a group has finished.
|
void |
groupStarted(ReportEvent event)
Receives notification that a group has started.
|
void |
itemsAdvanced(ReportEvent event)
Receives notification that a row of data is being processed.
|
void |
itemsFinished(ReportEvent event)
Receives notification that a group of item bands has been completed.
|
void |
itemsStarted(ReportEvent event)
Receives notification that a group of item bands is about to be processed.
|
void |
reportDone(ReportEvent event)
Receives notification that report generation has completed, the report footer was printed, no more output is done.
|
void |
reportFinished(ReportEvent event)
Receives notification that the report has finished.
|
void |
reportInitialized(ReportEvent event)
Receives notification that report generation initializes the current run.
|
void |
reportStarted(ReportEvent event)
Receives notification that the report has started.
|
void |
summaryRowSelection(ReportEvent event)
A crosstab specific event notifying crosstab-aware functions to select the result for the summary row cell that
will be printed next.
|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, getValue, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
protected AbstractFunction()
AbstractExpression.setName(java.lang.String)
before the function
is added to the report's function collection.protected AbstractFunction(String name)
name
- the name of the function.public void reportInitialized(ReportEvent event)
The event carries a ReportState.Started state. Use this to initialize the report.
reportInitialized
in interface ReportListener
event
- The event.public void reportStarted(ReportEvent event)
reportStarted
in interface ReportListener
event
- the event.public void reportFinished(ReportEvent event)
reportFinished
in interface ReportListener
event
- the event.public void groupStarted(ReportEvent event)
groupStarted
in interface ReportListener
event
- the event.public void groupFinished(ReportEvent event)
groupFinished
in interface ReportListener
event
- the event.public void itemsAdvanced(ReportEvent event)
itemsAdvanced
in interface ReportListener
event
- the event.public void itemsStarted(ReportEvent event)
The next events will be itemsAdvanced events until the itemsFinished event is raised.
itemsStarted
in interface ReportListener
event
- The event.public void itemsFinished(ReportEvent event)
The itemBand is finished, the report starts to close open groups.
itemsFinished
in interface ReportListener
event
- The event.public void reportDone(ReportEvent event)
reportDone
in interface ReportListener
event
- The event.public void summaryRowSelection(ReportEvent event)
summaryRowSelection
in interface ReportListener
event
- The report event.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.