|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.jai.OperationDescriptorImpl
Test.SampleDescriptor
public class SampleDescriptor
A single class that is both an OperationDescriptor and a RenderedImageFactory along with the one OpImage it is capable of creating. The operation implemented is a variation on threshold, although the code may be used as a template for a variety of other point operations.
| Field Summary |
|---|
| Fields inherited from interface javax.media.jai.OperationDescriptor |
|---|
NO_PARAMETER_DEFAULT |
| Constructor Summary | |
|---|---|
SampleDescriptor()
Constructor. |
|
| Method Summary | |
|---|---|
java.awt.image.RenderedImage |
create(java.awt.image.renderable.ParameterBlock paramBlock,
java.awt.RenderingHints renderHints)
Creates a SampleOpImage with the given ParameterBlock if the SampleOpImage can handle the particular ParameterBlock. |
boolean |
validateParameters(java.awt.image.renderable.ParameterBlock paramBlock)
Checks that all parameters in the ParameterBlock have the correct type before constructing the SampleOpImage |
| Methods inherited from class javax.media.jai.OperationDescriptorImpl |
|---|
arePropertiesSupported, 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, validateArguments, validateArguments, validateRenderableArguments |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SampleDescriptor()
| Method Detail |
|---|
public java.awt.image.RenderedImage create(java.awt.image.renderable.ParameterBlock paramBlock,
java.awt.RenderingHints renderHints)
create in interface java.awt.image.renderable.RenderedImageFactorypublic boolean validateParameters(java.awt.image.renderable.ParameterBlock paramBlock)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||