|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.util.JRDelegationVisitor net.sf.jasperreports.engine.util.JRElementsVisitor
public class JRElementsVisitor
Report elements visitor. This class can be used to recursively visit all the elements of a report.
Constructor Summary | |
---|---|
JRElementsVisitor(JRVisitor visitor)
Creates a report visitor. |
Method Summary | |
---|---|
protected void |
visitBand(JRBand band)
|
void |
visitCrosstab(JRCrosstab crosstab)
Visits the crosstab and the elements in all its cells. |
protected void |
visitCrosstabCell(JRCellContents cell)
|
void |
visitElementGroup(JRElementGroup elementGroup)
Visits the element group and all its children. |
protected void |
visitElements(java.util.List<JRChild> elements)
|
void |
visitFrame(JRFrame frame)
Visits the frame and all its children. |
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)
|
Methods inherited from class net.sf.jasperreports.engine.util.JRDelegationVisitor |
---|
getVisitor, visitBreak, visitChart, visitComponentElement, visitEllipse, visitGenericElement, visitImage, visitLine, visitRectangle, visitStaticText, visitSubreport, visitTextField |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JRElementsVisitor(JRVisitor visitor)
visitor
- the elements visitorMethod Detail |
---|
public static void visitReport(JRReport report, JRVisitor visitor)
report
- the reportvisitor
- the element visitorpublic void visitReport(JRReport report)
report
- the reportprotected void visitSection(JRSection section)
protected void visitBand(JRBand band)
protected void visitElements(java.util.List<JRChild> elements)
public void visitElementGroup(JRElementGroup elementGroup)
visitElementGroup
in interface JRVisitor
visitElementGroup
in class JRDelegationVisitor
public void visitFrame(JRFrame frame)
visitFrame
in interface JRVisitor
visitFrame
in class JRDelegationVisitor
public void visitCrosstab(JRCrosstab crosstab)
visitCrosstab
in interface JRVisitor
visitCrosstab
in class JRDelegationVisitor
protected void visitCrosstabCell(JRCellContents cell)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |