Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 28 29 35 package net.sf.jasperreports.engine; 36 37 import java.awt.Graphics2D ; 38 import java.awt.geom.Dimension2D ; 39 import java.awt.geom.Rectangle2D ; 40 import java.io.Serializable ; 41 42 43 47 public interface JRRenderable extends Serializable  48 { 49 50 51 54 public static final byte TYPE_IMAGE = 0; 55 public static final byte TYPE_SVG = 1; 56 57 60 public static final byte IMAGE_TYPE_UNKNOWN = 0; 61 62 65 public static final byte IMAGE_TYPE_GIF = 1; 66 67 70 public static final byte IMAGE_TYPE_JPEG = 2; 71 72 75 public static final byte IMAGE_TYPE_PNG = 3; 76 77 80 public static final byte IMAGE_TYPE_TIFF = 4; 81 82 85 public static final String MIME_TYPE_GIF = "image/gif"; 86 public static final String MIME_TYPE_JPEG = "image/jpeg"; 87 public static final String MIME_TYPE_PNG = "image/png"; 88 public static final String MIME_TYPE_TIFF = "image/tiff"; 89 90 91 94 public String getId(); 95 96 99 public byte getType(); 100 101 104 public byte getImageType(); 105 106 109 public Dimension2D getDimension() throws JRException; 110 111 112 115 public byte[] getImageData() throws JRException; 116 117 118 121 public void render(Graphics2D grx, Rectangle2D rectanle) throws JRException; 122 123 124 } 125
| Popular Tags
|