net.sf.jasperreports.engine
Interface JRRenderable

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
JRAbstractRenderer

public interface JRRenderable
extends java.io.Serializable

Version:
$Id: JRRenderable.java,v 1.10 2005/10/07 10:20:00 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
static byte IMAGE_TYPE_GIF
          A constant used for specifying that the image is of GIF type
static byte IMAGE_TYPE_JPEG
          A constant used for specifying that the image is of the JPEG type
static byte IMAGE_TYPE_PNG
          A constant used for specifying that the image is of the PNG type
static byte IMAGE_TYPE_TIFF
          A constant used for specifying that the image is of the TIFF type
static byte IMAGE_TYPE_UNKNOWN
          A constant used for specifying that the image is of unknown type
static java.lang.String MIME_TYPE_GIF
          image mime type constants
static java.lang.String MIME_TYPE_JPEG
           
static java.lang.String MIME_TYPE_PNG
           
static java.lang.String MIME_TYPE_TIFF
           
static byte TYPE_IMAGE
           
static byte TYPE_SVG
           
 
Method Summary
 java.awt.geom.Dimension2D getDimension()
           
 java.lang.String getId()
           
 byte[] getImageData()
           
 byte getImageType()
           
 byte getType()
           
 void render(java.awt.Graphics2D grx, java.awt.geom.Rectangle2D rectanle)
           
 

Field Detail

TYPE_IMAGE

public static final byte TYPE_IMAGE
See Also:
Constant Field Values

TYPE_SVG

public static final byte TYPE_SVG
See Also:
Constant Field Values

IMAGE_TYPE_UNKNOWN

public static final byte IMAGE_TYPE_UNKNOWN
A constant used for specifying that the image is of unknown type

See Also:
Constant Field Values

IMAGE_TYPE_GIF

public static final byte IMAGE_TYPE_GIF
A constant used for specifying that the image is of GIF type

See Also:
Constant Field Values

IMAGE_TYPE_JPEG

public static final byte IMAGE_TYPE_JPEG
A constant used for specifying that the image is of the JPEG type

See Also:
Constant Field Values

IMAGE_TYPE_PNG

public static final byte IMAGE_TYPE_PNG
A constant used for specifying that the image is of the PNG type

See Also:
Constant Field Values

IMAGE_TYPE_TIFF

public static final byte IMAGE_TYPE_TIFF
A constant used for specifying that the image is of the TIFF type

See Also:
Constant Field Values

MIME_TYPE_GIF

public static final java.lang.String MIME_TYPE_GIF
image mime type constants

See Also:
Constant Field Values

MIME_TYPE_JPEG

public static final java.lang.String MIME_TYPE_JPEG
See Also:
Constant Field Values

MIME_TYPE_PNG

public static final java.lang.String MIME_TYPE_PNG
See Also:
Constant Field Values

MIME_TYPE_TIFF

public static final java.lang.String MIME_TYPE_TIFF
See Also:
Constant Field Values
Method Detail

getId

public java.lang.String getId()

getType

public byte getType()

getImageType

public byte getImageType()

getDimension

public java.awt.geom.Dimension2D getDimension()
                                       throws JRException
Throws:
JRException

getImageData

public byte[] getImageData()
                    throws JRException
Throws:
JRException

render

public void render(java.awt.Graphics2D grx,
                   java.awt.geom.Rectangle2D rectanle)
            throws JRException
Throws:
JRException


© 2001-2005 JasperSoft Corporation www.jaspersoft.com