|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.image.AbstractImageRenderer
public abstract class AbstractImageRenderer
Abstract base class that implements ImageRenderer.
Subclasses should always create their images by calling createImage() so that the type of image
| Field Summary |
|---|
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
protected |
AbstractImageRenderer()
Create an AbstractImageRenderer. |
| Method Summary | |
|---|---|
protected java.awt.image.BufferedImage |
createImage(int width,
int height)
Creates an Image with the given width and height. |
boolean |
imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int width,
int height)
Implementation of ImageObserver.ImageUpdate(). |
abstract java.awt.Image |
renderImage(ImageContext context,
java.util.Map<java.lang.Object,java.lang.Object> requestedProperties,
java.util.Map<java.lang.Object,java.lang.Object> responseProperties)
Render the BufferedImage given the Map of properties that describe what to render. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractImageRenderer()
| Method Detail |
|---|
public abstract java.awt.Image renderImage(ImageContext context,
java.util.Map<java.lang.Object,java.lang.Object> requestedProperties,
java.util.Map<java.lang.Object,java.lang.Object> responseProperties)
renderImage in interface ImageRenderercontext - The rendering contextrequestedProperties - Map of requested properties.
The keys for this dictionary are the KEY constants defined
in ImageConstants.responseProperties - Map for response properties.
The keys for this dictionary are the RESPONSE_KEY constants
defined in ImageConstants.
ImageContext,
ImageConstants
public boolean imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int width,
int height)
imageUpdate in interface java.awt.image.ImageObserverImageObserver
protected java.awt.image.BufferedImage createImage(int width,
int height)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||