java.lang.Object
OperationDescriptorImpl
org.modama.jaiutil.operators.MosaicDescriptor
- All Implemented Interfaces:
- java.awt.image.renderable.RenderedImageFactory
- public class MosaicDescriptor
- extends OperationDescriptorImpl
- implements java.awt.image.renderable.RenderedImageFactory
A JAI operation descriptor for the Mosaic operation. This operation produces
an image from a grid of tile sources, each tile being a separate JAI image.
All source images must be the same size and have the same tile size, sample
model and color model. The resulting image will have a tile size the same as
the sources. The parameters are the number of rows and columns in
the grid and a two dimensional array of the source tiles.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resources
private static final java.lang.String[][] resources
paramNames
private static final java.lang.String[] paramNames
paramClasses
private static final java.lang.Class[] paramClasses
- The class types for the parameters of the "Mosaic" operation.
paramDefaults
private static final java.lang.Object[] paramDefaults
- The default parameter values for the "Mosaic" operation
when using a ParameterBlockJAI.
registered
private static boolean registered
MosaicDescriptor
public MosaicDescriptor()
- Construct a MosaicDescriptor.
register
public static void register()
create
public java.awt.image.RenderedImage create(java.awt.image.renderable.ParameterBlock paramBlock,
java.awt.RenderingHints renderHints)
- Creates a MosaicOpImage with the given ParameterBlock if the
MosaicOpImage can handle the particular ParameterBlock.
- Specified by:
create in interface java.awt.image.renderable.RenderedImageFactory
validateParameters
public boolean validateParameters(java.awt.image.renderable.ParameterBlock paramBlock)
- Checks that all parameters in the ParameterBlock have the
correct type before constructing the MosaicOpImage