public class DeepPrintElementVisitor<T> extends Object implements PrintElementVisitor<T>
JRPrintFrame
subelements.| Constructor and Description |
|---|
DeepPrintElementVisitor(PrintElementVisitor<T> visitor)
Creates a deep visitor by wrapping a visitor to which the calls will be
delegated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
visit(JRGenericPrintElement printElement,
T arg)
Visits a generic print element.
|
void |
visit(JRPrintEllipse ellipse,
T arg)
Visits a print ellipse.
|
void |
visit(JRPrintFrame frame,
T arg)
Visits a print frame.
|
void |
visit(JRPrintImage image,
T arg)
Visits a print image.
|
void |
visit(JRPrintLine line,
T arg)
Visits a print line.
|
void |
visit(JRPrintRectangle rectangle,
T arg)
Visits a print rectangle.
|
void |
visit(JRPrintText textElement,
T arg)
Visits a text print element.
|
public DeepPrintElementVisitor(PrintElementVisitor<T> visitor)
visitor - public void visit(JRPrintText textElement, T arg)
PrintElementVisitorvisit in interface PrintElementVisitor<T>textElement - the element to visitarg - an argument passed for the visitpublic void visit(JRPrintImage image, T arg)
PrintElementVisitorvisit in interface PrintElementVisitor<T>image - the image to visitarg - an argument passed for the visitpublic void visit(JRPrintRectangle rectangle, T arg)
PrintElementVisitorvisit in interface PrintElementVisitor<T>rectangle - the rectangle to visitarg - an argument passed for the visitpublic void visit(JRPrintLine line, T arg)
PrintElementVisitorvisit in interface PrintElementVisitor<T>line - the line to visitarg - an argument passed for the visitpublic void visit(JRPrintEllipse ellipse, T arg)
PrintElementVisitorvisit in interface PrintElementVisitor<T>ellipse - the ellipse to visitarg - an argument passed for the visitpublic void visit(JRPrintFrame frame, T arg)
PrintElementVisitorvisit in interface PrintElementVisitor<T>frame - the frame to visitarg - an argument passed for the visitpublic void visit(JRGenericPrintElement printElement, T arg)
PrintElementVisitorvisit in interface PrintElementVisitor<T>printElement - the element to visitarg - an argument passed for the visitCopyright © 2017. All rights reserved.