Class ConvertVisitor
- java.lang.Object
-
- net.sf.jasperreports.engine.convert.ConvertVisitor
-
- All Implemented Interfaces:
JRVisitor
- Direct Known Subclasses:
ChartsConvertVisitor
public class ConvertVisitor extends Object implements JRVisitor
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRBasePrintFrame
parentFrame
protected JRPrintElement
printElement
protected ReportConverter
reportConverter
-
Constructor Summary
Constructors Constructor Description ConvertVisitor(ReportConverter reportConverter)
ConvertVisitor(ReportConverter reportConverter, JRBasePrintFrame parentFrame)
-
Method Summary
-
-
-
Field Detail
-
reportConverter
protected ReportConverter reportConverter
-
parentFrame
protected JRBasePrintFrame parentFrame
-
printElement
protected JRPrintElement printElement
-
-
Constructor Detail
-
ConvertVisitor
public ConvertVisitor(ReportConverter reportConverter)
-
ConvertVisitor
public ConvertVisitor(ReportConverter reportConverter, JRBasePrintFrame parentFrame)
-
-
Method Detail
-
getReportConverter
public ReportConverter getReportConverter()
-
getParentFrame
public JRBasePrintFrame getParentFrame()
-
getVisitPrintElement
public JRPrintElement getVisitPrintElement(JRVisitable visitable)
-
visitBreak
public void visitBreak(JRBreak breakElement)
- Specified by:
visitBreak
in interfaceJRVisitor
-
visitCrosstab
public void visitCrosstab(JRCrosstab crosstab)
- Specified by:
visitCrosstab
in interfaceJRVisitor
-
visitElementGroup
public void visitElementGroup(JRElementGroup elementGroup)
- Specified by:
visitElementGroup
in interfaceJRVisitor
-
visitEllipse
public void visitEllipse(JREllipse ellipse)
- Specified by:
visitEllipse
in interfaceJRVisitor
-
visitFrame
public void visitFrame(JRFrame frame)
- Specified by:
visitFrame
in interfaceJRVisitor
-
visitImage
public void visitImage(JRImage image)
- Specified by:
visitImage
in interfaceJRVisitor
-
visitRectangle
public void visitRectangle(JRRectangle rectangle)
- Specified by:
visitRectangle
in interfaceJRVisitor
-
visitStaticText
public void visitStaticText(JRStaticText staticText)
- Specified by:
visitStaticText
in interfaceJRVisitor
-
visitSubreport
public void visitSubreport(JRSubreport subreport)
- Specified by:
visitSubreport
in interfaceJRVisitor
-
visitTextField
public void visitTextField(JRTextField textField)
- Specified by:
visitTextField
in interfaceJRVisitor
-
addElement
public void addElement(JRBasePrintFrame frame, JRPrintElement element)
-
addContour
protected void addContour(ReportConverter reportConverter, JRBasePrintFrame frame, JRPrintElement element)
-
visitComponentElement
public void visitComponentElement(JRComponentElement componentElement)
Description copied from interface:JRVisitor
Visits a component wrapper element.- Specified by:
visitComponentElement
in interfaceJRVisitor
- Parameters:
componentElement
- the element to visit
-
visitGenericElement
public void visitGenericElement(JRGenericElement element)
Description copied from interface:JRVisitor
Visits a generic report element.- Specified by:
visitGenericElement
in interfaceJRVisitor
- Parameters:
element
- the element to visit
-
-