Package net.sf.jasperreports.engine.util
Class JRVisitorSupport
- java.lang.Object
-
- net.sf.jasperreports.engine.util.JRVisitorSupport
-
- All Implemented Interfaces:
JRVisitor
public abstract class JRVisitorSupport extends Object implements JRVisitor
Abstract implementation ofJRVisitor
that has empty visit methods for all visitable types. This class can be used as base class by visitors that do not want to implement all methods.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JRVisitorSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitBreak(JRBreak breakElement)
void
visitComponentElement(JRComponentElement componentElement)
Visits a component wrapper element.void
visitCrosstab(JRCrosstab crosstab)
void
visitElementGroup(JRElementGroup elementGroup)
void
visitEllipse(JREllipse ellipse)
void
visitFrame(JRFrame frame)
void
visitGenericElement(JRGenericElement element)
Visits a generic report element.void
visitImage(JRImage image)
void
visitLine(JRLine line)
void
visitRectangle(JRRectangle rectangle)
void
visitStaticText(JRStaticText staticText)
void
visitSubreport(JRSubreport subreport)
void
visitTextField(JRTextField textField)
-
-
-
Method Detail
-
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
-
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
-
-