Package net.sf.jasperreports.engine
Interface PrintElementVisitor<T>
- Type Parameters:
T- the type of the argument that gets passed to the visit operation
- All Known Implementing Classes:
CompositePrintElementVisitor,DeepPrintElementCounter,DeepPrintElementVisitor,DefaultPrintElementVisitor,HtmlExporter.CellElementVisitor,PartPropertiesDetector,PrintDrawVisitor,UniformPrintElementVisitor,VirtualizableElementCounter
public interface PrintElementVisitor<T>
Print element visitor interface.
The visit methods can receive one argument of a specified type.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
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.
-
Method Details
-
visit
Visits a text print element.- Parameters:
textElement- the element to visitarg- an argument passed for the visit
-
visit
Visits a print image.- Parameters:
image- the image to visitarg- an argument passed for the visit
-
visit
Visits a print rectangle.- Parameters:
rectangle- the rectangle to visitarg- an argument passed for the visit
-
visit
Visits a print line.- Parameters:
line- the line to visitarg- an argument passed for the visit
-
visit
Visits a print ellipse.- Parameters:
ellipse- the ellipse to visitarg- an argument passed for the visit
-
visit
Visits a print frame.- Parameters:
frame- the frame to visitarg- an argument passed for the visit
-
visit
Visits a generic print element.- Parameters:
printElement- the element to visitarg- an argument passed for the visit
-