Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
PREV | NEXT | SHOW LISTS | HIDE LISTS |
All operations that are to be used in a rendering-independent chain must implement ContextualRenderedImageFactory.
This interface is intended to be used only by the RenderableImageOp class. It is not intended to be used by developers, unless they are writing a RenderableImageOp.
Classes that implement this interface must provide a constructor with no arguments so they can be instantiated by the class loader.
Method Summary | |
RenderedImage | createOp(RenderContext renderContext,
ParameterBlock paramBlock)
|
Rectangle2D | getBoundingBox(ParameterBlock paramBlock)
|
Object | getProperty(ParameterBlock pb,
String name)
|
RenderContext | mapRenderContext(int i,
RenderContext renderContext,
ParameterBlock paramBlock,
RenderableImageOp parentOp)
|
Method Detail |
public RenderContext mapRenderContext(int i, RenderContext renderContext, ParameterBlock paramBlock, RenderableImageOp parentOp)
i
- the index of the source image.
renderContext
- the RenderContext being applied to the operation.
paramBlock
- a ParameterBlock containing the operation's
sources and parameters.
parentOp
- the RenderableImageOp from which this method is
being called.
public RenderedImage createOp(RenderContext renderContext, ParameterBlock paramBlock)
renderContext
- The RenderContext that specifies the rendering.
paramBlock
- a ParameterBlock containing the operation's
sources and parameters.
public Rectangle2D getBoundingBox(ParameterBlock paramBlock)
paramBlock
- a ParameterBlock containing the operation's
sources and parameters.
public Object getProperty(ParameterBlock pb, String name)
paramBlock
- a ParameterBlock containing the operation's
sources and parameters.
name
- a String naming the desired property.
Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
PREV | NEXT | SHOW LISTS | HIDE LISTS |