| java.lang.Object org.jfree.report.function.AbstractExpression org.jfree.report.function.AbstractFunction
All known Subclasses: org.jfree.report.function.HidePageBandForTableExportFunction, org.pentaho.jfreereport.legacy.XYDataSetCollectorFunction, org.jfree.report.function.PageFunction, org.jfree.report.function.TotalItemCountFunction, org.jfree.report.function.ItemMaxFunction, org.pentaho.reportdesigner.crm.report.tests.wrapper.TestJFreeFunction, org.jfree.report.layout.output.DefaultOutputFunction, org.jfree.report.function.TriggerPageFooterFunction, org.jfree.report.function.TotalGroupSumFunction, org.jfree.report.function.TotalItemMaxFunction, org.jfree.report.function.ItemSumFunction, org.pentaho.jfreereport.legacy.TimeDiffAndFormatFunction, org.pentaho.jfreereport.legacy.GetCurrentDateFunction, org.pentaho.plugin.jfreereport.reportcharts.BaseCollectorFunction, org.jfree.report.function.AbstractElementFormatFunction, org.jfree.report.modules.output.xml.XMLWriter, org.jfree.report.function.CountDistinctFunction, org.jfree.report.function.ItemMinFunction, org.pentaho.plugin.jfreereport.reportcharts.PieSetCollectorFunction, org.jfree.report.function.ItemHideFunction, org.jfree.report.function.ElementVisibilitySwitchFunction, org.jfree.report.function.GroupCountFunction, org.jfree.report.function.PaintDynamicComponentFunction, org.pentaho.jfreereport.legacy.TimeDiffFormatFunction, org.jfree.report.function.CreateGroupAnchorsFunction, org.jfree.report.function.ItemPercentageFunction, org.jfree.report.function.TotalCalculationFunction, org.jfree.report.function.ItemAvgFunction, org.jfree.report.function.TotalItemMinFunction, org.jfree.report.function.ItemCountFunction, org.pentaho.jfreereport.legacy.TimeDiffFunction, org.jfree.report.function.TotalGroupSumQuotientFunction, org.jfree.report.function.RowBandingFunction, org.jfree.report.modules.output.csv.CSVWriter, org.jfree.report.function.FormulaFunction, org.jfree.report.function.EventMonitorFunction, org.jfree.report.function.PaintComponentFunction,
AbstractFunction | abstract public class AbstractFunction extends AbstractExpression implements Function(Code) | | Base class for implementing new report functions. Provides empty implementations of
all the methods in the Function interface.
The function is initialized when it gets added to the report. The method
initialize gets called to perform the required initializations. At this
point, all function properties must have been set to a valid state and the function
must be named. If the initialisation fails, a FunctionInitializeException is thrown and
the function get not added to the report.
author: Thomas Morgner |
AbstractFunction | protected AbstractFunction()(Code) | | Creates an unnamed function. Make sure the name of the function is set using
AbstractFunction.setName before the function is added to the report's function collection.
|
AbstractFunction | protected AbstractFunction(String name)(Code) | | Creates an named function.
Parameters: name - the name of the function. |
groupFinished | public void groupFinished(ReportEvent event)(Code) | | Receives notification that a group has finished.
Parameters: event - the event. |
groupStarted | public void groupStarted(ReportEvent event)(Code) | | Receives notification that a group has started.
Parameters: event - the event. |
itemsAdvanced | public void itemsAdvanced(ReportEvent event)(Code) | | Receives notification that a row of data is being processed.
Parameters: event - the event. |
itemsFinished | public void itemsFinished(ReportEvent event)(Code) | | Receives notification that a group of item bands has been completed. The itemBand
is finished, the report starts to close open groups.
Parameters: event - The event. |
itemsStarted | public void itemsStarted(ReportEvent event)(Code) | | Receives notification that a group of item bands is about to be processed. The
next events will be itemsAdvanced events until the itemsFinished event is raised.
Parameters: event - The event. |
reportDone | public void reportDone(ReportEvent event)(Code) | | Receives notification that report generation has completed, the report footer was
printed, no more output is done. This is a helper event to shut down the output
service.
Parameters: event - The event. |
reportFinished | public void reportFinished(ReportEvent event)(Code) | | Receives notification that the report has finished.
Parameters: event - the event. |
reportInitialized | public void reportInitialized(ReportEvent event)(Code) | | Receives notification that report generation initializes the current run. The
event carries a ReportState.Started state. Use this to initialize the report.
Parameters: event - The event. |
reportStarted | public void reportStarted(ReportEvent event)(Code) | | Receives notification that the report has started.
Parameters: event - the event. |
|
|