|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.engine.api.HTMLImageHandler
Constructor Summary | |
HTMLImageHandler()
|
Method Summary | |
CachedImage |
addCachedImage(java.lang.String id,
int type,
IImage image,
IReportContext context)
add the image into cache. |
CachedImage |
getCachedImage(java.lang.String id,
int type,
IReportContext context)
get the cached image. |
protected java.lang.Object |
getRenderContext(IReportContext context)
|
java.lang.String |
onCustomImage(IImage image,
java.lang.Object context)
handles a custom image created for example, by chart extension. |
java.lang.String |
onDesignImage(IImage image,
java.lang.Object context)
handles a design image. |
java.lang.String |
onDocImage(IImage image,
java.lang.Object context)
handles a database image. |
java.lang.String |
onFileImage(IImage image,
java.lang.Object context)
handles a image specified as a on-disk URI. |
java.lang.String |
onURLImage(IImage image,
java.lang.Object context)
handles an image specified as an external URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HTMLImageHandler()
Method Detail |
public java.lang.String onCustomImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onCustomImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URL
public java.lang.String onDesignImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onDesignImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URL
public java.lang.String onDocImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onDocImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URL
public java.lang.String onFileImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onFileImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URL
public java.lang.String onURLImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onURLImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URL
protected java.lang.Object getRenderContext(IReportContext context)
public CachedImage getCachedImage(java.lang.String id, int type, IReportContext context)
getCachedImage
in interface IHTMLImageHandler
id
- cache keytype
- image type.context
- report context
public CachedImage addCachedImage(java.lang.String id, int type, IImage image, IReportContext context)
addCachedImage
in interface IHTMLImageHandler
id
- cached keytype
- image typeimage
- image object.context
- report context
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |