Class FrameDrawer
- java.lang.Object
-
- net.sf.jasperreports.engine.export.draw.ElementDrawer<JRPrintFrame>
-
- net.sf.jasperreports.engine.export.draw.FrameDrawer
-
public class FrameDrawer extends ElementDrawer<JRPrintFrame>
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description FrameDrawer(JRGraphics2DExporterContext exporterContext, ExporterFilter filter, PrintDrawVisitor drawVisitor)
FrameDrawer(JasperReportsContext jasperReportsContext, ExporterFilter filter, PrintDrawVisitor drawVisitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(Graphics2D grx, Collection<JRPrintElement> elements, int offsetX, int offsetY)
void
draw(Graphics2D grx, JRPrintFrame frame, int offsetX, int offsetY)
PrintDrawVisitor
getDrawVisitor()
JRGraphics2DExporterContext
getExporterContext()
void
setClip(boolean isClip)
protected void
setGraphics(Graphics2D grx)
-
Methods inherited from class net.sf.jasperreports.engine.export.draw.ElementDrawer
drawBottomPen, drawBox, drawLeftPen, drawPen, drawRightPen, drawTopPen, getJasperReportsContext
-
-
-
-
Constructor Detail
-
FrameDrawer
public FrameDrawer(JasperReportsContext jasperReportsContext, ExporterFilter filter, PrintDrawVisitor drawVisitor)
-
FrameDrawer
public FrameDrawer(JRGraphics2DExporterContext exporterContext, ExporterFilter filter, PrintDrawVisitor drawVisitor)
-
-
Method Detail
-
setClip
public void setClip(boolean isClip)
-
draw
public void draw(Graphics2D grx, JRPrintFrame frame, int offsetX, int offsetY) throws JRException
- Specified by:
draw
in classElementDrawer<JRPrintFrame>
- Throws:
JRException
-
draw
public void draw(Graphics2D grx, Collection<JRPrintElement> elements, int offsetX, int offsetY) throws JRException
- Throws:
JRException
-
setGraphics
protected void setGraphics(Graphics2D grx)
-
getExporterContext
public JRGraphics2DExporterContext getExporterContext()
- Returns:
- the exporterContext
-
getDrawVisitor
public PrintDrawVisitor getDrawVisitor()
- Returns:
- the drawVisitor
-
-