org.pentaho.reporting.engine.classic.core.function
Class PageItemCountFunction

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.function.AbstractExpression
      extended by org.pentaho.reporting.engine.classic.core.function.AbstractFunction
          extended by org.pentaho.reporting.engine.classic.core.function.ItemCountFunction
              extended by 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

Constructor Summary
PageItemCountFunction()
          Default Constructor.
 
Method Summary
 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
getGroup, getValue, groupStarted, itemsAdvanced, reportInitialized, setGroup
 
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
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
groupFinished, itemsFinished, itemsStarted, reportDone, reportFinished, reportStarted
 
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
 

Constructor Detail

PageItemCountFunction

public PageItemCountFunction()
Default Constructor.

Method Detail

pageStarted

public void pageStarted(ReportEvent event)
Handles the pageStartedEvent.

Specified by:
pageStarted in interface PageEventListener
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 interface PageEventListener
Parameters:
event - the report event.