Package net.sf.jasperreports.engine.util
Class DeepPrintElementVisitor<T>
java.lang.Object
net.sf.jasperreports.engine.util.DeepPrintElementVisitor<T>
- All Implemented Interfaces:
PrintElementVisitor<T>
Print element visitor decorator that recursively visits
JRPrintFrame
subelements.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
ConstructorsConstructorDescriptionDeepPrintElementVisitor(PrintElementVisitor<T> visitor) Creates a deep visitor by wrapping a visitor to which the calls will be delegated. -
Method Summary
Modifier and TypeMethodDescriptionvoidvisit(JRGenericPrintElement printElement, T arg) Visits a generic print element.voidvisit(JRPrintEllipse ellipse, T arg) Visits a print ellipse.voidvisit(JRPrintFrame frame, T arg) Visits a print frame.voidvisit(JRPrintImage image, T arg) Visits a print image.voidvisit(JRPrintLine line, T arg) Visits a print line.voidvisit(JRPrintRectangle rectangle, T arg) Visits a print rectangle.voidvisit(JRPrintText textElement, T arg) Visits a text print element.
-
Constructor Details
-
DeepPrintElementVisitor
Creates a deep visitor by wrapping a visitor to which the calls will be delegated.- Parameters:
visitor-
-
-
Method Details
-
visit
Description copied from interface:PrintElementVisitorVisits a text print element.- Specified by:
visitin interfacePrintElementVisitor<T>- Parameters:
textElement- the element to visitarg- an argument passed for the visit
-
visit
Description copied from interface:PrintElementVisitorVisits a print image.- Specified by:
visitin interfacePrintElementVisitor<T>- Parameters:
image- the image to visitarg- an argument passed for the visit
-
visit
Description copied from interface:PrintElementVisitorVisits a print rectangle.- Specified by:
visitin interfacePrintElementVisitor<T>- Parameters:
rectangle- the rectangle to visitarg- an argument passed for the visit
-
visit
Description copied from interface:PrintElementVisitorVisits a print line.- Specified by:
visitin interfacePrintElementVisitor<T>- Parameters:
line- the line to visitarg- an argument passed for the visit
-
visit
Description copied from interface:PrintElementVisitorVisits a print ellipse.- Specified by:
visitin interfacePrintElementVisitor<T>- Parameters:
ellipse- the ellipse to visitarg- an argument passed for the visit
-
visit
Description copied from interface:PrintElementVisitorVisits a print frame.- Specified by:
visitin interfacePrintElementVisitor<T>- Parameters:
frame- the frame to visitarg- an argument passed for the visit
-
visit
Description copied from interface:PrintElementVisitorVisits a generic print element.- Specified by:
visitin interfacePrintElementVisitor<T>- Parameters:
printElement- the element to visitarg- an argument passed for the visit
-