public class PageTotalFunction extends PageFunction
Constructor and Description |
---|
PageTotalFunction()
Creates a new page total function.
|
Modifier and Type | Method and Description |
---|---|
Expression |
getInstance()
Return a completly separated copy of this function.
|
Object |
getValue()
Returns the page number (function value).
|
void |
groupFinished(ReportEvent event)
Receives notification that a group has finished.
|
void |
groupStarted(ReportEvent event)
Receives notification that a group has started.
|
void |
pageFinished(ReportEvent event)
Receives notification that a page is completed.
|
void |
reportDone(ReportEvent event)
Receives notification that report generation has completed, the report footer was printed, no more output is done.
|
void |
reportInitialized(ReportEvent event)
Receives notification that the report has started.
|
getDependencyLevel, getGroup, getPage, getPageIncrement, getStartPage, isDeepTraversing, isIgnoreNextGroupStart, isIgnoreNextPageStart, isIgnorePageCancelEvents, pageStarted, setDependencyLevel, setGroup, setIgnorePageCancelEvents, setPage, setPageIncrement, setStartPage
itemsAdvanced, itemsFinished, itemsStarted, reportFinished, reportStarted, summaryRowSelection
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isPreserve, setActive, setName, setPreserve, setRuntime
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isPreserve, setName, setRuntime
public void reportInitialized(ReportEvent event)
reportInitialized
in interface ReportListener
reportInitialized
in class PageFunction
event
- the event.public void groupStarted(ReportEvent event)
PageFunction
groupStarted
in interface ReportListener
groupStarted
in class PageFunction
event
- the event.public void groupFinished(ReportEvent event)
AbstractFunction
groupFinished
in interface ReportListener
groupFinished
in class AbstractFunction
event
- the event.public void pageFinished(ReportEvent event)
PageFunction
pageFinished
in interface PageEventListener
pageFinished
in class PageFunction
event
- The event.public void reportDone(ReportEvent event)
AbstractFunction
reportDone
in interface ReportListener
reportDone
in class AbstractFunction
event
- The event.public Expression getInstance()
getInstance
in interface Expression
getInstance
in class AbstractExpression
public Object getValue()
PageFunction
getValue
in interface Expression
getValue
in class PageFunction
Copyright © 2017 Hitachi Vantara. All rights reserved.