Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.awt.image.renderable.RenderedImageFactory

Subinterfaces:
ContextualRenderedImageFactory

public interface RenderedImageFactory
The RenderedImageFactory interface (often abbreviated RIF) is intended to be implemented by classes that wish to act as factories to produce different renderings (as a chain of BufferedImageOps or similar datatypes), depending on a specific set of parameters, properties, and rendering hints. For example, a RenderedImageFactory could determine whether a hardware-specific operation is appropriate for a particular task.


Method Summary
RenderedImage  create(ParameterBlock pb, Hashtable renderHints, Hashtable renderHintsObserved)
Creates a RenderedImage representing the results of an imaging operation (or chain of operations) for a given ParameterBlock and hints.
 

Method Detail

create

public RenderedImage create(ParameterBlock pb,
                            Hashtable renderHints,
                            Hashtable renderHintsObserved)
Creates a RenderedImage representing the results of an imaging operation (or chain of operations) for a given ParameterBlock and hints. The RIF may also query any source images referenced by the ParameterBlock for their dimensions, SampleModels, properties, etc., as necessary.

The create() method can return null if the RenderedImageFactory is not capable of producing output for the given set of source images and parameters. For example, if a RenderedImageFactory is only capable of performing a 3x3 convolution on single-banded image data, and the source image has multiple bands or the convolution Kernel is 5x5, null should be returned. Hints should be taken into account, but can be ignored.

Parameters:
pb - a ParameterBlock containing sources and parameters for the RenderedImage to be created.
renderHints - a Hashtable of hints to the RenderedImageFactory.
renderHintsObserved - a Hashtable of hints observed by the RIF.
Returns:
a RenderedImage containing the desired output image.

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.