|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractFunction
org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction
public abstract class AbstractElementFormatFunction
The AbstractElementFormatFunction provides a common base implementation for all functions that need to modify the report definition or the style of an report element or band during the report processing.
The Expression retrieves the next root-level band that will be printed and uses this band as parameter for theprocessRootBand(org.pentaho.reporting.engine.classic.core.Band)
method.
Method Summary | |
---|---|
String |
getElement()
Returns the element name. |
Object |
getValue()
Format-Functions usually are not expected to return anything. |
void |
groupFinished(ReportEvent event)
Processes the group footer of the current group. |
void |
groupStarted(ReportEvent event)
Processes the group header of the current group. |
void |
itemsAdvanced(ReportEvent event)
Processes the ItemBand. |
void |
itemsFinished(ReportEvent event)
Receives notification that a group of item bands has been completed. |
void |
itemsStarted(ReportEvent event)
Processes the No-Data-Band. |
void |
pageFinished(ReportEvent event)
Processes the page footer. |
void |
pageStarted(ReportEvent event)
Processes the page header. |
void |
reportFinished(ReportEvent event)
Processes the Report-Footer. |
void |
reportInitialized(ReportEvent event)
Receives notification that report generation initializes the current run. |
void |
reportStarted(ReportEvent event)
Processes the Report-Header. |
void |
setElement(String name)
Sets the element name. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractFunction |
---|
reportDone |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
---|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.event.ReportListener |
---|
reportDone |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression |
---|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime |
Method Detail |
---|
public void setElement(String name)
name
- The element name.FunctionUtilities.findAllElements(org.pentaho.reporting.engine.classic.core.Band,String)
public String getElement()
setElement(String)
public void itemsStarted(ReportEvent event)
itemsStarted
in interface ReportListener
itemsStarted
in class AbstractFunction
event
- the report event.public void itemsAdvanced(ReportEvent event)
itemsAdvanced
in interface ReportListener
itemsAdvanced
in class AbstractFunction
event
- the event.public void itemsFinished(ReportEvent event)
The itemBand is finished, the report starts to close open groups.
itemsFinished
in interface ReportListener
itemsFinished
in class AbstractFunction
event
- The event.public void reportInitialized(ReportEvent event)
The event carries a ReportState.Started state. Use this to initialize the report.
reportInitialized
in interface ReportListener
reportInitialized
in class AbstractFunction
event
- The event.public void reportFinished(ReportEvent event)
reportFinished
in interface ReportListener
reportFinished
in class AbstractFunction
event
- the event.public void reportStarted(ReportEvent event)
reportStarted
in interface ReportListener
reportStarted
in class AbstractFunction
event
- the event.public void groupStarted(ReportEvent event)
groupStarted
in interface ReportListener
groupStarted
in class AbstractFunction
event
- the event.public void groupFinished(ReportEvent event)
groupFinished
in interface ReportListener
groupFinished
in class AbstractFunction
event
- the event.public void pageFinished(ReportEvent event)
pageFinished
in interface PageEventListener
event
- the event.public void pageStarted(ReportEvent event)
pageStarted
in interface PageEventListener
event
- the event.public Object getValue()
getValue
in interface Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |