public class DrawVisitor extends UniformElementVisitor
| Modifier and Type | Field and Description |
|---|---|
protected ConvertVisitor |
convertVisitor |
protected PrintDrawVisitor |
drawVisitor |
| Constructor and Description |
|---|
DrawVisitor(ReportConverter reportConverter,
Graphics2D grx) |
| Modifier and Type | Method and Description |
|---|---|
protected Offset |
elementOffset(JRElement element) |
void |
setClip(boolean clip) |
void |
setGraphics2D(Graphics2D grx) |
void |
setTextRenderer(JRReport report)
Deprecated.
To be removed.
|
void |
visitBreak(JRBreak breakElement) |
protected void |
visitElement(JRElement element)
Method that gets called when any element is visited, no matter what its type is.
|
void |
visitElementGroup(JRElementGroup elementGroup) |
visitChart, visitComponentElement, visitCrosstab, visitEllipse, visitFrame, visitGenericElement, visitImage, visitLine, visitRectangle, visitStaticText, visitSubreport, visitTextFieldprotected ConvertVisitor convertVisitor
protected PrintDrawVisitor drawVisitor
public DrawVisitor(ReportConverter reportConverter, Graphics2D grx)
public void setClip(boolean clip)
public void setGraphics2D(Graphics2D grx)
public void setTextRenderer(JRReport report)
public void visitBreak(JRBreak breakElement)
visitBreak in interface JRVisitorvisitBreak in class UniformElementVisitorprotected void visitElement(JRElement element)
UniformElementVisitorvisitElement in class UniformElementVisitorelement - the element to be visitedpublic void visitElementGroup(JRElementGroup elementGroup)
Copyright © 2017. All rights reserved.