public class WrappingDataToGraphics2DRenderer extends AbstractRenderToImageAwareRenderer implements DataRenderable, Graphics2DRenderable, DimensionRenderable, AreaHyperlinksRenderable
PROPERTY_IMAGE_DPI
Constructor and Description |
---|
WrappingDataToGraphics2DRenderer(DataRenderable dataRenderer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData(JasperReportsContext jasperReportsContext)
Deprecated.
|
Dimension2D |
getDimension(JasperReportsContext jasperReportsContext)
Deprecated.
|
List<JRPrintImageAreaHyperlink> |
getImageAreaHyperlinks(Rectangle2D renderingArea)
Deprecated.
Returns the list of
image map areas . |
RenderableTypeEnum |
getRenderableType()
Deprecated.
|
boolean |
hasImageAreaHyperlinks()
Deprecated.
Indicates whether the renderer actually includes any image map areas.
|
void |
render(JasperReportsContext jasperReportsContext,
Graphics2D grx,
Rectangle2D rectangle)
Deprecated.
|
protected void |
updateCache(JasperReportsContext jasperReportsContext)
Deprecated.
|
createGraphics, getImageDataDPI
getId
public WrappingDataToGraphics2DRenderer(DataRenderable dataRenderer)
public List<JRPrintImageAreaHyperlink> getImageAreaHyperlinks(Rectangle2D renderingArea) throws JRException
AreaHyperlinksRenderable
image map areas
.getImageAreaHyperlinks
in interface AreaHyperlinksRenderable
renderingArea
- the area on which the image would be renderedJRPrintImageAreaHyperlink
instances.JRException
public boolean hasImageAreaHyperlinks()
AreaHyperlinksRenderable
hasImageAreaHyperlinks
in interface AreaHyperlinksRenderable
public byte[] getData(JasperReportsContext jasperReportsContext) throws JRException
getData
in interface DataRenderable
JRException
public Dimension2D getDimension(JasperReportsContext jasperReportsContext) throws JRException
getDimension
in interface DimensionRenderable
JRException
public void render(JasperReportsContext jasperReportsContext, Graphics2D grx, Rectangle2D rectangle) throws JRException
render
in interface Graphics2DRenderable
JRException
public RenderableTypeEnum getRenderableType()
protected void updateCache(JasperReportsContext jasperReportsContext) throws JRException
JRException
Copyright © 2016. All rights reserved.