Package net.sf.jasperreports.engine.util
Class JRDelegationVisitor
- java.lang.Object
-
- net.sf.jasperreports.engine.util.JRDelegationVisitor
-
- All Implemented Interfaces:
JRVisitor
- Direct Known Subclasses:
CrosstabDeepVisitor
,JRElementsVisitor
public abstract class JRDelegationVisitor extends Object implements JRVisitor
Abstract delegation visitor.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JRDelegationVisitor(JRVisitor visitor)
Creates a delegation visitor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRVisitor
getVisitor()
Returns the visitor to which calls are delegated to.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)
-
-
-
Constructor Detail
-
JRDelegationVisitor
public JRDelegationVisitor(JRVisitor visitor)
Creates a delegation visitor.- Parameters:
visitor
- the visitor to which calls would be delegated to
-
-
Method Detail
-
getVisitor
public JRVisitor getVisitor()
Returns the visitor to which calls are delegated to.- Returns:
- the visitor to which calls are delegated to
-
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
-
-