|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.util.CompositePrintElementVisitor<T>
public class CompositePrintElementVisitor<T>
A print element visitor that contains several visitors to which it delegates calls.
Constructor Summary | |
---|---|
CompositePrintElementVisitor(PrintElementVisitor<T>... visitors)
Creates a composite visitor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositePrintElementVisitor(PrintElementVisitor<T>... visitors)
visitors
- the visitors to delegate calls toMethod Detail |
---|
public void visit(JRPrintText textElement, T arg)
PrintElementVisitor
visit
in interface PrintElementVisitor<T>
textElement
- the element to visitarg
- an argument passed for the visitpublic void visit(JRPrintImage image, T arg)
PrintElementVisitor
visit
in interface PrintElementVisitor<T>
image
- the image to visitarg
- an argument passed for the visitpublic void visit(JRPrintRectangle rectangle, T arg)
PrintElementVisitor
visit
in interface PrintElementVisitor<T>
rectangle
- the rectangle to visitarg
- an argument passed for the visitpublic void visit(JRPrintLine line, T arg)
PrintElementVisitor
visit
in interface PrintElementVisitor<T>
line
- the line to visitarg
- an argument passed for the visitpublic void visit(JRPrintEllipse ellipse, T arg)
PrintElementVisitor
visit
in interface PrintElementVisitor<T>
ellipse
- the ellipse to visitarg
- an argument passed for the visitpublic void visit(JRPrintFrame frame, T arg)
PrintElementVisitor
visit
in interface PrintElementVisitor<T>
frame
- the frame to visitarg
- an argument passed for the visitpublic void visit(JRGenericPrintElement printElement, T arg)
PrintElementVisitor
visit
in interface PrintElementVisitor<T>
printElement
- the element to visitarg
- an argument passed for the visit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |