jsky.image.operator
Class MinMaxDescriptor

java.lang.Object
  extended by javax.media.jai.OperationDescriptorImpl
      extended by jsky.image.operator.MinMaxDescriptor
All Implemented Interfaces:
java.awt.image.renderable.RenderedImageFactory, java.io.Serializable, javax.media.jai.OperationDescriptor, javax.media.jai.RegistryElementDescriptor

public class MinMaxDescriptor
extends javax.media.jai.OperationDescriptorImpl
implements java.awt.image.renderable.RenderedImageFactory

A single class that is both an OperationDescriptor and a RenderedImageFactory.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.media.jai.OperationDescriptorImpl
sourceNames
 
Fields inherited from interface javax.media.jai.OperationDescriptor
NO_PARAMETER_DEFAULT
 
Constructor Summary
MinMaxDescriptor()
          Constructor.
 
Method Summary
 java.awt.image.RenderedImage create(java.awt.image.renderable.ParameterBlock paramBlock, java.awt.RenderingHints renderHints)
          Creates a MinMaxOpImage with the given ParameterBlock if the MinMaxOpImage can handle the particular ParameterBlock.
static void register()
          Register this operation descriptor
 boolean validateParameters(java.awt.image.renderable.ParameterBlock paramBlock)
          Checks that all parameters in the ParameterBlock have the correct type before constructing the MinMaxOpImage
 
Methods inherited from class javax.media.jai.OperationDescriptorImpl
arePropertiesSupported, getDefaultSourceClass, getDestClass, getDestClass, getInvalidRegion, getName, getNumParameters, getNumSources, getParamClasses, getParamDefaults, getParamDefaultValue, getParameterListDescriptor, getParamMaxValue, getParamMinValue, getParamNames, getPropertyGenerators, getPropertyGenerators, getRenderableDestClass, getRenderableSourceClasses, getResourceBundle, getResources, getSourceClasses, getSourceClasses, getSourceNames, getSupportedModes, isImmediate, isModeSupported, isRenderableSupported, isRenderedSupported, makeDefaultSourceClassList, validateArguments, validateArguments, validateParameters, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinMaxDescriptor

public MinMaxDescriptor()
Constructor.

Method Detail

register

public static void register()
Register this operation descriptor


create

public java.awt.image.RenderedImage create(java.awt.image.renderable.ParameterBlock paramBlock,
                                           java.awt.RenderingHints renderHints)
Creates a MinMaxOpImage with the given ParameterBlock if the MinMaxOpImage 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 MinMaxOpImage