|
|||||||||
| 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.AbstractElementFormatFunction
|
+--org.jfree.report.demo.fonts.FontChangeFunction
This is a function used in report4-demo. The function demonstrates how to alter an elements property during the report generation. The elements font is changed base on the data provided in the reports datasource.
For every new item row in the report, the font for that row is changed to the fontname specified in the second column of the report data source. Parameters:
| Constructor Summary | |
FontChangeFunction()
DefaultConstructor. |
|
| Method Summary | |
java.lang.Object |
getValue()
Returns the value calculated by this function. |
protected void |
processRootBand(Band b)
|
| Methods inherited from class org.jfree.report.function.AbstractElementFormatFunction |
getElement,
groupFinished,
groupStarted,
itemsAdvanced,
pageCanceled,
pageFinished,
pageRolledBack,
pageStarted,
reportFinished,
reportStarted,
setElement |
| Methods inherited from class org.jfree.report.function.AbstractFunction |
clone,
itemsFinished,
itemsStarted,
reportDone,
reportInitialized |
| Methods inherited from class org.jfree.report.function.AbstractExpression |
getDataRow,
getDependencyLevel,
getInstance,
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 FontChangeFunction()
| Method Detail |
protected void processRootBand(Band b)
public java.lang.Object getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||