Package net.sf.jasperreports.engine
Class RenderableUtil
java.lang.Object
net.sf.jasperreports.engine.RenderableUtil
Deprecated.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderableUtilgetInstance(JasperReportsContext jasperReportsContext) Deprecated.getOnErrorRenderer(OnErrorTypeEnum onErrorType, JRException e) Deprecated.getOnErrorRenderer(OnErrorTypeEnum onErrorType, JRRuntimeException e) Deprecated.getOnErrorRendererForDimension(Renderable renderer, OnErrorTypeEnum onErrorType) Deprecated.To be removed.getOnErrorRendererForDimension(RenderersCache renderersCache, Renderable renderer, OnErrorTypeEnum onErrorType) Deprecated.To be removed.getOnErrorRendererForImageData(Renderable renderer, OnErrorTypeEnum onErrorType) Deprecated.To be removed.getRenderable(byte[] imageData) Deprecated.getRenderable(Image image, ImageTypeEnum imageType, OnErrorTypeEnum onErrorType) Deprecated.Creates and returns an instance of the JRImageRenderer class after encoding the image object using an image encoder that supports the supplied image type.getRenderable(Image img, OnErrorTypeEnum onErrorType) Deprecated.getRenderable(File file, OnErrorTypeEnum onErrorType) Deprecated.getRenderable(InputStream is, OnErrorTypeEnum onErrorType) Deprecated.getRenderable(String imageLocation) Deprecated.Replaced byResourceRenderer.getInstance(String, boolean).getRenderable(String imageLocation, OnErrorTypeEnum onErrorType) Deprecated.Replaced byResourceRenderer.getInstance(String, boolean).getRenderable(String imageLocation, OnErrorTypeEnum onErrorType, boolean isLazy) Deprecated.getRenderable(URL url, OnErrorTypeEnum onErrorType) Deprecated.static RenderablegetWrappingRenderable(JRImageMapRenderer deprecatedRenderer) Deprecated.To be removed.static RenderablegetWrappingRenderable(JRRenderable deprecatedRenderer) Deprecated.To be removed.static RenderablegetWrappingRenderable(Renderable renderable) Deprecated.To be removed.handleImageError(Exception error, OnErrorTypeEnum onErrorType) Deprecated.
-
Field Details
-
EXCEPTION_MESSAGE_KEY_IMAGE_ERROR
Deprecated.- See Also:
-
-
Method Details
-
getInstance
Deprecated. -
getRenderable
Deprecated. -
getRenderable
Deprecated.Replaced byResourceRenderer.getInstance(String, boolean).- Throws:
JRException
-
getRenderable
public Renderable getRenderable(String imageLocation, OnErrorTypeEnum onErrorType) throws JRException Deprecated.Replaced byResourceRenderer.getInstance(String, boolean).- Throws:
JRException
-
getRenderable
public Renderable getRenderable(String imageLocation, OnErrorTypeEnum onErrorType, boolean isLazy) throws JRException Deprecated.- Throws:
JRException
-
getRenderable
Deprecated.- Throws:
JRException
-
getRenderable
public Renderable getRenderable(Image image, ImageTypeEnum imageType, OnErrorTypeEnum onErrorType) throws JRException Deprecated.Creates and returns an instance of the JRImageRenderer class after encoding the image object using an image encoder that supports the supplied image type.- Parameters:
image- the java.awt.Image object to wrap into a JRImageRenderer instanceimageType- the type of the image as specified by one of the constants defined in the JRRenderable interfaceonErrorType- one of the error type constants defined in theOnErrorTypeEnum.- Returns:
- the image renderer instance
- Throws:
JRException
-
getRenderable
Deprecated.- Throws:
JRException
-
getRenderable
Deprecated.- Throws:
JRException
-
getRenderable
Deprecated.- Throws:
JRException
-
getOnErrorRendererForDimension
public Renderable getOnErrorRendererForDimension(Renderable renderer, OnErrorTypeEnum onErrorType) throws JRException Deprecated.To be removed.- Throws:
JRException
-
getOnErrorRendererForDimension
public Renderable getOnErrorRendererForDimension(RenderersCache renderersCache, Renderable renderer, OnErrorTypeEnum onErrorType) throws JRException Deprecated.To be removed.- Throws:
JRException
-
getOnErrorRendererForImageData
public Renderable getOnErrorRendererForImageData(Renderable renderer, OnErrorTypeEnum onErrorType) throws JRException Deprecated.To be removed.- Throws:
JRException
-
handleImageError
Deprecated.- Throws:
JRException
-
getOnErrorRenderer
Deprecated.- Throws:
JRException
-
getOnErrorRenderer
public Renderable getOnErrorRenderer(OnErrorTypeEnum onErrorType, JRRuntimeException e) throws JRRuntimeException Deprecated.- Throws:
JRRuntimeException
-
getWrappingRenderable
Deprecated.To be removed. -
getWrappingRenderable
Deprecated.To be removed. -
getWrappingRenderable
Deprecated.To be removed.
-
RendererUtil.