public class IndexDataGeneratorFunction
extends org.pentaho.reporting.engine.classic.core.function.AbstractFunction
implements org.pentaho.reporting.engine.classic.core.event.PageEventListener
Constructor and Description |
---|
IndexDataGeneratorFunction()
Creates an unnamed function.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones the expression.
|
String |
getDataField() |
String |
getDataFormula() |
String |
getIndexSeparator() |
org.pentaho.reporting.engine.classic.core.function.Expression |
getInstance()
Return a completly separated copy of this function.
|
org.pentaho.reporting.engine.classic.core.util.TypedTableModel |
getModel() |
Object |
getValue()
Return the current expression value.
|
boolean |
isCondensedStyle() |
boolean |
isDeepTraversing()
Checks whether this expression is a deep-traversing expression.
|
void |
itemsAdvanced(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
Receives notification that a row of data is being processed.
|
void |
pageFinished(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
Receives notification that a page is completed.
|
void |
pageStarted(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
Receives notification that a new page is being started.
|
void |
reportDone(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
Receives notification that report generation has completed, the report footer was printed, no more output is done.
|
void |
reportInitialized(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
Receives notification that report generation initializes the current run.
|
void |
reportStarted(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
Receives notification that the report has started.
|
void |
setCondensedStyle(boolean condensedStyle) |
void |
setDataField(String dataField) |
void |
setDataFormula(String titleFormula) |
void |
setIndexSeparator(String indexSeparator) |
groupFinished, groupStarted, itemsFinished, itemsStarted, reportFinished, summaryRowSelection
getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
public IndexDataGeneratorFunction()
AbstractExpression.setName(java.lang.String)
before the function
is added to the report's function collection.public boolean isCondensedStyle()
public void setCondensedStyle(boolean condensedStyle)
public String getIndexSeparator()
public void setIndexSeparator(String indexSeparator)
public String getDataFormula()
public void setDataFormula(String titleFormula)
public String getDataField()
public void setDataField(String dataField)
public void reportInitialized(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
The event carries a ReportState.Started state. Use this to initialize the report.
reportInitialized
in interface org.pentaho.reporting.engine.classic.core.event.ReportListener
reportInitialized
in class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
event
- The event.public void reportStarted(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
reportStarted
in interface org.pentaho.reporting.engine.classic.core.event.ReportListener
reportStarted
in class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
event
- the event.public void itemsAdvanced(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
itemsAdvanced
in interface org.pentaho.reporting.engine.classic.core.event.ReportListener
itemsAdvanced
in class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
event
- the event.public void pageStarted(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
pageStarted
in interface org.pentaho.reporting.engine.classic.core.event.PageEventListener
event
- The event.public void pageFinished(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
pageFinished
in interface org.pentaho.reporting.engine.classic.core.event.PageEventListener
event
- The event.public void reportDone(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
reportDone
in interface org.pentaho.reporting.engine.classic.core.event.ReportListener
reportDone
in class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
event
- The event.public Object getValue()
getValue
in interface org.pentaho.reporting.engine.classic.core.function.Expression
public boolean isDeepTraversing()
isDeepTraversing
in interface org.pentaho.reporting.engine.classic.core.function.Expression
isDeepTraversing
in class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
public Object clone() throws CloneNotSupportedException
Expressions maintain no state, cloning is done at the beginning of the report processing to disconnect the expression from any other object space.
clone
in interface org.pentaho.reporting.engine.classic.core.function.Expression
clone
in class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
CloneNotSupportedException
- this should never happen.public org.pentaho.reporting.engine.classic.core.function.Expression getInstance()
getInstance
in interface org.pentaho.reporting.engine.classic.core.function.Expression
getInstance
in class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
public org.pentaho.reporting.engine.classic.core.util.TypedTableModel getModel()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.