| java.lang.Object net.sf.jasperreports.engine.JRAbstractRenderer net.sf.jasperreports.engine.JRImageRenderer
JRImageRenderer | public class JRImageRenderer extends JRAbstractRenderer (Code) | | author: Teodor Danciu (teodord@users.sourceforge.net) version: $Id: JRImageRenderer.java 1811 2007-08-13 19:52:07Z teodord $ |
Method Summary | |
public static ClassLoader | getClassLoader() | public Dimension2D | getDimension() | public Image | getImage() | public byte[] | getImageData() | public String | getImageLocation() | public byte | getImageType() | public static JRImageRenderer | getInstance(byte[] imageData) | public static JRRenderable | getInstance(String imageLocation) | public static JRRenderable | getInstance(String imageLocation, byte onErrorType) | public static JRRenderable | getInstance(String imageLocation, byte onErrorType, boolean isLazy) | public static JRRenderable | getInstance(String imageLocation, byte onErrorType, boolean isLazy, ClassLoader classLoader, URLStreamHandlerFactory urlHandlerFactory) | public static JRRenderable | getInstance(Image img, byte onErrorType) | public static JRRenderable | getInstance(Image image, byte imageType, byte onErrorType) Creates and returns an instance of the JRImageRenderer class after encoding the image object using an image
encoder that supports the supplied image type. | public static JRRenderable | getInstance(InputStream is, byte onErrorType) | public static JRRenderable | getInstance(URL url, byte onErrorType) | public static JRRenderable | getInstance(File file, byte onErrorType) | public static JRRenderable | getOnErrorRendererForDimension(JRRenderable renderer, byte onErrorType) | public static JRImageRenderer | getOnErrorRendererForImage(JRImageRenderer renderer, byte onErrorType) | public static JRRenderable | getOnErrorRendererForImageData(JRRenderable renderer, byte onErrorType) | public byte | getType() | public void | render(Graphics2D grx, Rectangle2D rectanle) | public static void | setClassLoader(ClassLoader classLoader) |
getImageType | public byte getImageType()(Code) | | |
getInstance | public static JRRenderable getInstance(Image image, byte imageType, byte onErrorType) throws JRException(Code) | | 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 instance Parameters: imageType - the type of the image as specified by one of the constants defined in the JRRenderable interface Parameters: onErrorType - one of the error type constants defined in the JRImage interface the image renderer instance |
getType | public byte getType()(Code) | | |
|
|