|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.util.UniformPrintElementVisitor<T>
public abstract class UniformPrintElementVisitor<T>
Print element visitor that delegates all visit calls to a single method.
| Constructor Summary | |
|---|---|
protected |
UniformPrintElementVisitor()
Creates a uniform visitor. |
protected |
UniformPrintElementVisitor(boolean deep)
Creates an optionally deep uniform 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. |
protected abstract void |
visitElement(JRPrintElement element,
T arg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected UniformPrintElementVisitor()
protected UniformPrintElementVisitor(boolean deep)
deep - whether elements are to be deeply visitedDeepPrintElementVisitor| Method Detail |
|---|
protected abstract void visitElement(JRPrintElement element,
T arg)
public void visit(JRPrintText textElement,
T arg)
PrintElementVisitor
visit in interface PrintElementVisitor<T>textElement - the element to visitarg - an argument passed for the visit
public void visit(JRPrintImage image,
T arg)
PrintElementVisitor
visit in interface PrintElementVisitor<T>image - the image to visitarg - an argument passed for the visit
public void visit(JRPrintRectangle rectangle,
T arg)
PrintElementVisitor
visit in interface PrintElementVisitor<T>rectangle - the rectangle to visitarg - an argument passed for the visit
public void visit(JRPrintLine line,
T arg)
PrintElementVisitor
visit in interface PrintElementVisitor<T>line - the line to visitarg - an argument passed for the visit
public void visit(JRPrintEllipse ellipse,
T arg)
PrintElementVisitor
visit in interface PrintElementVisitor<T>ellipse - the ellipse to visitarg - an argument passed for the visit
public void visit(JRPrintFrame frame,
T arg)
PrintElementVisitor
visit in interface PrintElementVisitor<T>frame - the frame to visitarg - an argument passed for the visit
public 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 | |||||||||