Package net.sf.jasperreports.renderers
Class AbstractRenderToImageDataRenderer
- java.lang.Object
-
- net.sf.jasperreports.renderers.AbstractRenderer
-
- net.sf.jasperreports.renderers.AbstractRenderToImageAwareRenderer
-
- net.sf.jasperreports.renderers.AbstractRenderToImageDataRenderer
-
- All Implemented Interfaces:
Serializable
,DataRenderable
,DimensionRenderable
,Graphics2DRenderable
,Renderable
,RenderToImageAwareRenderable
- Direct Known Subclasses:
WrappingRenderToImageDataRenderer
public abstract class AbstractRenderToImageDataRenderer extends AbstractRenderToImageAwareRenderer implements Graphics2DRenderable, DataRenderable, DimensionRenderable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_DIMENSION_MUST_OVERRIDE
static String
EXCEPTION_MESSAGE_KEY_DIMENSION_NULL_NOT_ALLOWED
-
Fields inherited from interface net.sf.jasperreports.renderers.Renderable
PROPERTY_IMAGE_DPI
-
-
Constructor Summary
Constructors Constructor Description AbstractRenderToImageDataRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Color
getBackcolor()
byte[]
getData(JasperReportsContext jasperReportsContext)
Dimension2D
getDimension(JasperReportsContext jasperReportsContext)
-
Methods inherited from class net.sf.jasperreports.renderers.AbstractRenderToImageAwareRenderer
createGraphics, getImageDataDPI
-
Methods inherited from class net.sf.jasperreports.renderers.AbstractRenderer
getId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.renderers.Graphics2DRenderable
render
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_DIMENSION_MUST_OVERRIDE
public static final String EXCEPTION_MESSAGE_KEY_DIMENSION_MUST_OVERRIDE
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_DIMENSION_NULL_NOT_ALLOWED
public static final String EXCEPTION_MESSAGE_KEY_DIMENSION_NULL_NOT_ALLOWED
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
getBackcolor
protected Color getBackcolor()
-
-