Package net.sf.jasperreports.renderers
Class WrappingImageDataToGraphics2DRenderer
- java.lang.Object
-
- net.sf.jasperreports.renderers.AbstractRenderer
-
- net.sf.jasperreports.renderers.WrappingImageDataToGraphics2DRenderer
-
- All Implemented Interfaces:
Serializable
,DataRenderable
,DimensionRenderable
,Graphics2DRenderable
,Renderable
public class WrappingImageDataToGraphics2DRenderer extends AbstractRenderer implements DataRenderable, Graphics2DRenderable, DimensionRenderable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.renderers.Renderable
PROPERTY_IMAGE_DPI
-
-
Constructor Summary
Constructors Constructor Description WrappingImageDataToGraphics2DRenderer(DataRenderable dataRenderer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getData(JasperReportsContext jasperReportsContext)
Dimension2D
getDimension(JasperReportsContext jasperReportsContext)
protected Image
getImage(JasperReportsContext jasperReportsContext)
void
render(JasperReportsContext jasperReportsContext, Graphics2D grx, Rectangle2D rectangle)
-
Methods inherited from class net.sf.jasperreports.renderers.AbstractRenderer
getId
-
-
-
-
Constructor Detail
-
WrappingImageDataToGraphics2DRenderer
public WrappingImageDataToGraphics2DRenderer(DataRenderable dataRenderer) throws JRException
- Throws:
JRException
-
-
Method Detail
-
getImage
protected Image getImage(JasperReportsContext jasperReportsContext) throws JRException
- Throws:
JRException
-
getDimension
public Dimension2D getDimension(JasperReportsContext jasperReportsContext) throws JRException
- Specified by:
getDimension
in interfaceDimensionRenderable
- Throws:
JRException
-
getData
public byte[] getData(JasperReportsContext jasperReportsContext) throws JRException
- Specified by:
getData
in interfaceDataRenderable
- Throws:
JRException
-
render
public void render(JasperReportsContext jasperReportsContext, Graphics2D grx, Rectangle2D rectangle) throws JRException
- Specified by:
render
in interfaceGraphics2DRenderable
- Throws:
JRException
-
-