|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.jfree.report.function.AbstractExpression
|
+--org.jfree.report.function.AbstractFunction
|
+--org.jfree.report.function.TotalGroupSumQuotientFunction
|
+--org.jfree.report.function.TotalGroupSumQuotientPercentFunction
A report function that calculates the quotient of two summed fields (columns) from the TableModel. This function produces a global total. The total sum of the group is known when the group processing starts and the report is not performing a prepare-run. The sum is calculated in the prepare run and recalled in the printing run.
The function can be used in two ways:dividend parameter is
required and denotes the name of an ItemBand-field which gets summed up as dividend.
The divisor parameter is required and denotes the name of an
ItemBand-field which gets summed up as divisor.
The parameter group denotes the name of a group. When this group is
started, the counter gets reseted to null. This parameter is optional.
| Constructor Summary | |
TotalGroupSumQuotientPercentFunction()
|
|
| Method Summary | |
java.lang.Object |
getValue()
Return the current function value. |
| Methods inherited from class org.jfree.report.function.TotalGroupSumQuotientFunction |
getDividend,
getDivisor,
getGroup,
getInstance,
groupStarted,
itemsAdvanced,
reportInitialized,
setDividend,
setDivisor,
setGroup |
| Methods inherited from class org.jfree.report.function.AbstractFunction |
clone,
groupFinished,
itemsFinished,
itemsStarted,
reportDone,
reportFinished,
reportStarted |
| Methods inherited from class org.jfree.report.function.AbstractExpression |
getDataRow,
getDependencyLevel,
getName,
getReportConfiguration,
getResourceBundleFactory,
getRuntime,
isActive,
setActive,
setDependencyLevel,
setName,
setRuntime |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public TotalGroupSumQuotientPercentFunction()
| Method Detail |
public java.lang.Object getValue()
The value depends (obviously) on the function implementation. For example, a page counting function will return the current page number.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||