|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageRenderSupport
An optional interface which may be implemented by
ComponentSynchronizePeer
s to render images via the
ImageRenderService
.
Method Summary | |
---|---|
nextapp.echo2.app.ImageReference |
getImage(nextapp.echo2.app.Component component,
java.lang.String imageId)
Retrieves the image identified by the given imageId value
for the given Component . |
Method Detail |
---|
nextapp.echo2.app.ImageReference getImage(nextapp.echo2.app.Component component, java.lang.String imageId)
imageId
value
for the given Component
.
Note: A reference to any images to be rendered must be
maintained throughout the rendering process, due to the fact that the
image rendering subsystem creates a weak-keyed cache of images to be
rendered. This method therefore may not simply return a new,
otherwise-unreferenced image. In the event that this presents a problem,
the recommended workaround is to simply store such otherwise unreferenced
ImageReference
s using a RenderState
object.
component
- the componentimageId
- the id of the image
|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |