Class PageItemCountFunction
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.function.AbstractExpression
-
- org.pentaho.reporting.engine.classic.core.function.AbstractFunction
-
- org.pentaho.reporting.engine.classic.core.function.ItemCountFunction
-
- org.pentaho.reporting.engine.classic.core.function.PageItemCountFunction
-
- All Implemented Interfaces:
Serializable
,Cloneable
,EventListener
,PageEventListener
,ReportListener
,AggregationFunction
,Expression
,Function
public class PageItemCountFunction extends ItemCountFunction implements PageEventListener
An ItemCount function, that is reset to zero on every new page.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.function.ItemCountFunction
ONE, ZERO
-
-
Constructor Summary
Constructors Constructor Description PageItemCountFunction()
Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
pageFinished(ReportEvent event)
Handles the pageFinishedEvent.void
pageStarted(ReportEvent event)
Handles the pageStartedEvent.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.ItemCountFunction
clear, clone, getCrosstabFilterGroup, getGroup, getInstance, getValue, groupStarted, itemsAdvanced, reportInitialized, setCrosstabFilterGroup, setGroup, summaryRowSelection
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
groupFinished, itemsFinished, itemsStarted, reportDone, reportFinished, reportStarted
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
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
getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.event.ReportListener
groupFinished, itemsFinished, itemsStarted, reportDone, reportFinished, reportStarted
-
-
-
-
Method Detail
-
pageStarted
public void pageStarted(ReportEvent event)
Handles the pageStartedEvent.- Specified by:
pageStarted
in interfacePageEventListener
- Parameters:
event
- the report event.
-
pageFinished
public void pageFinished(ReportEvent event)
Handles the pageFinishedEvent. This method is emtpy and only here as implementation side effect.- Specified by:
pageFinished
in interfacePageEventListener
- Parameters:
event
- the report event.
-
-