|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.engine.api.CachedImage
public class CachedImage
Cached Image Created by the IHTMLImageHandler. Before call the IHTMLImageHandler to generate the image, the report engine will first ask the handler if there exits a cache for that image. If the cache finded, the report engine will use that cache directly and won't request the handle to create the new image instance any more.
Constructor Summary | |
---|---|
CachedImage()
create an empty cache. |
|
CachedImage(java.lang.String id,
java.lang.String url)
create a instance of cached image. |
Method Summary | |
---|---|
java.lang.String |
getID()
get the id of the image. |
java.lang.String |
getImageMap()
get the image map of the image. |
ImageSize |
getImageSize()
get the image size |
java.lang.String |
getMIMEType()
get the mime type of the image. |
java.lang.String |
getURL()
get the URL of the cached image. |
void |
setID(java.lang.String id)
set the id of the cached image. |
void |
setImageMap(java.lang.String imageMap)
set the image map of the image. |
void |
setImageSize(ImageSize size)
set the image size |
void |
setMIMEType(java.lang.String mimeType)
set the mime type of the image. |
void |
setURL(java.lang.String url)
set the image URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedImage()
public CachedImage(java.lang.String id, java.lang.String url)
id
- id of the image.url
- url of the imageMethod Detail |
---|
public void setID(java.lang.String id)
id
- id of the image.public java.lang.String getID()
public java.lang.String getURL()
public void setURL(java.lang.String url)
url
- url which refer to the imagepublic java.lang.String getImageMap()
public void setImageMap(java.lang.String imageMap)
imageMap
- image map in HTML format.public java.lang.String getMIMEType()
public void setMIMEType(java.lang.String mimeType)
mimeType
- the mime type of the imagepublic ImageSize getImageSize()
public void setImageSize(ImageSize size)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |