Class DrawVisitor
- java.lang.Object
-
- net.sf.jasperreports.engine.util.UniformElementVisitor
-
- net.sf.jasperreports.engine.export.draw.DrawVisitor
-
- All Implemented Interfaces:
JRVisitor
public class DrawVisitor extends UniformElementVisitor
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected ConvertVisitor
convertVisitor
protected PrintDrawVisitor
drawVisitor
-
Constructor Summary
Constructors Constructor Description DrawVisitor(ReportConverter reportConverter, Graphics2D grx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Offset
elementOffset(JRElement element)
void
setClip(boolean clip)
void
setGraphics2D(Graphics2D grx)
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)
-
Methods inherited from class net.sf.jasperreports.engine.util.UniformElementVisitor
visitComponentElement, visitCrosstab, visitEllipse, visitFrame, visitGenericElement, visitImage, visitLine, visitRectangle, visitStaticText, visitSubreport, visitTextField
-
-
-
-
Field Detail
-
convertVisitor
protected ConvertVisitor convertVisitor
-
drawVisitor
protected PrintDrawVisitor drawVisitor
-
-
Constructor Detail
-
DrawVisitor
public DrawVisitor(ReportConverter reportConverter, Graphics2D grx)
-
-
Method Detail
-
setClip
public void setClip(boolean clip)
-
setGraphics2D
public void setGraphics2D(Graphics2D grx)
-
visitBreak
public void visitBreak(JRBreak breakElement)
- Specified by:
visitBreak
in interfaceJRVisitor
- Overrides:
visitBreak
in classUniformElementVisitor
-
visitElement
protected void visitElement(JRElement element)
Description copied from class:UniformElementVisitor
Method that gets called when any element is visited, no matter what its type is.- Specified by:
visitElement
in classUniformElementVisitor
- Parameters:
element
- the element to be visited
-
visitElementGroup
public void visitElementGroup(JRElementGroup elementGroup)
-
-