|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.image.AbstractImageRenderer
Abstract base class that implements ImageRenderer.
Subclasses should always create their images by calling createImage() so that the type of image
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.Dictionary requestedProperties,
java.util.Dictionary responseProperties)
Render the BufferedImage given the Dictionary 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.Dictionary requestedProperties, java.util.Dictionary responseProperties)
renderImage
in interface ImageRenderer
oracle.cabo.image.ImageRenderer
context
- The rendering contextrequestedProperties
- Dictionary of requested properties.
The keys for this dictionary are the KEY constants defined
in ImageConstants.responseProperties
- Dictionary 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.ImageObserver
ImageObserver
protected java.awt.image.BufferedImage createImage(int width, int height)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |