public class JRElementsVisitor extends JRDelegationVisitor implements ElementsVisitor
| Constructor and Description |
|---|
JRElementsVisitor(JRVisitor visitor)
Creates a report visitor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
visitBand(JRBand band) |
boolean |
visitDeepElements()
Decides whether this visitor is to visit deep/nested elements.
|
protected void |
visitElements(List<JRChild> elements) |
void |
visitReport(JRReport report)
Visits all the elements of a report.
|
static void |
visitReport(JRReport report,
JRVisitor visitor)
Visits all the elements of a report.
|
protected void |
visitSection(JRSection section) |
getVisitor, visitBreak, visitChart, visitComponentElement, visitCrosstab, visitElementGroup, visitEllipse, visitFrame, visitGenericElement, visitImage, visitLine, visitRectangle, visitStaticText, visitSubreport, visitTextFieldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitBreak, visitChart, visitComponentElement, visitCrosstab, visitElementGroup, visitEllipse, visitFrame, visitGenericElement, visitImage, visitLine, visitRectangle, visitStaticText, visitSubreport, visitTextFieldpublic JRElementsVisitor(JRVisitor visitor)
visitor - the elements visitorpublic static void visitReport(JRReport report, JRVisitor visitor)
report - the reportvisitor - the element visitorpublic boolean visitDeepElements()
ElementsVisitorvisitDeepElements in interface ElementsVisitorpublic void visitReport(JRReport report)
report - the reportprotected void visitSection(JRSection section)
protected void visitBand(JRBand band)
Copyright © 2017. All rights reserved.