| nextapp.echo2.webcontainer.image.ImageRenderSupport
All known Subclasses: nextapp.echo2.webcontainer.syncpeer.WindowPanePeer, nextapp.echo2.webcontainer.syncpeer.LabelPeer, nextapp.echo2.webcontainer.syncpeer.ContentPanePeer, nextapp.echo2.webcontainer.syncpeer.SplitPanePeer, nextapp.echo2.webcontainer.syncpeer.GridPeer, nextapp.echo2.webcontainer.syncpeer.TextComponentPeer, nextapp.echo2.webcontainer.syncpeer.RowPeer, nextapp.echo2.webcontainer.syncpeer.ButtonPeer, nextapp.echo2.webcontainer.syncpeer.ColumnPeer, nextapp.echo2.webcontainer.syncpeer.TablePeer,
ImageRenderSupport | public interface ImageRenderSupport (Code) | | An optional interface which may be implemented by
ComponentSynchronizePeer s to render images via the
ImageRenderService .
|
Method Summary | |
public ImageReference | getImage(Component component, String imageId) Retrieves the image identified by the given 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. |
getImage | public ImageReference getImage(Component component, String imageId)(Code) | | Retrieves the image identified by the given 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.
Parameters: component - the component Parameters: imageId - the id of the image the target image |
|
|