| java.lang.Object javax.media.jai.OperationDescriptorImpl ca.forklabs.media.jai.CollectionDescriptor
All known Subclasses: ca.forklabs.media.jai.operator.IDFT3DDescriptor, ca.forklabs.media.jai.operator.SpectralHomomorphicDescriptor, ca.forklabs.media.jai.operator.ApplyToCollectionDescriptor, ca.forklabs.media.jai.operator.SpectralFilterDescriptor, ca.forklabs.media.jai.operator.PipelineDescriptor, ca.forklabs.media.jai.operator.DFT3DDescriptor, ca.forklabs.media.jai.operator.PeriodicShift3DDescriptor, ca.forklabs.media.jai.operator.MedianCollectionDescriptor,
CollectionDescriptor | abstract public class CollectionDescriptor extends OperationDescriptorImpl (Code) | | Class
CollectionDescriptor helps in creating {OperationDescriptor}
that have collections has input source.
author: Daniel Léonard version: $Revision: 1.4 $ |
CollectionDescriptor | protected CollectionDescriptor(String[][] resources, String[] modes, String[] source_names, Class>[][] source_classes, ParameterListDescriptor[] parameter_list_descriptors)(Code) | | Constructor.
Parameters: resources - the resource tags and their corresponding data. Parameters: modes - the modes that this operator supports. Parameters: source_names - the source names. Parameters: source_classes - the source types required by this operation foreach of the above supported modes. Parameters: parameter_list_descriptors - the parameter list descriptor foreach mode. |
getNeitherCollectionNorRenderableCollectionModeErrorMessage | protected String getNeitherCollectionNorRenderableCollectionModeErrorMessage(String mode)(Code) | | Gets the error message saying that we are neither in collection nor
renderable collection mode.
Parameters: mode - the offending mode. the error message. |
getNoEnumeratedParametersErrorMessage | protected static String getNoEnumeratedParametersErrorMessage()(Code) | | Gets the error message saying that this operator does not have any
enumerated parameters.
the error message. |
getNotAllRenderableErrorMessage | protected String getNotAllRenderableErrorMessage()(Code) | | Gets the error message saying that not all sources are renderable images.
the error message. |
getNotAllRenderedErrorMessage | protected String getNotAllRenderedErrorMessage()(Code) | | Gets the error message saying that not all sources are rendered images.
the error message. |
getUnknownParameterErrorMessage | protected static String getUnknownParameterErrorMessage(String name)(Code) | | Gets the error message saying that parameter is unknown.
Parameters: name - the name of the offending parameter. the error message. |
validateSources | protected boolean validateSources(String mode, ParameterBlock pb, StringBuffer sb)(Code) | | Collates and validates sources in both collection modes, non-collection
modes are handled by the super-class.
Parameters: mode - the rendering mode. Parameters: pb - the parameter block. Parameters: sb - sink for error messages. |
Methods inherited from javax.media.jai.OperationDescriptorImpl | public boolean arePropertiesSupported()(Code)(Java Doc) protected static Class getDefaultSourceClass(String modeName)(Code)(Java Doc) public Class getDestClass(String modeName)(Code)(Java Doc) public Class getDestClass()(Code)(Java Doc) public Object getInvalidRegion(String modeName, ParameterBlock oldParamBlock, RenderingHints oldHints, ParameterBlock newParamBlock, RenderingHints newHints, OperationNode node)(Code)(Java Doc) public String getName()(Code)(Java Doc) public int getNumParameters()(Code)(Java Doc) public int getNumSources()(Code)(Java Doc) public Class[] getParamClasses()(Code)(Java Doc) public Object getParamDefaultValue(int index)(Code)(Java Doc) public Object[] getParamDefaults()(Code)(Java Doc) public Number getParamMaxValue(int index)(Code)(Java Doc) public Number getParamMinValue(int index)(Code)(Java Doc) public String[] getParamNames()(Code)(Java Doc) public ParameterListDescriptor getParameterListDescriptor(String modeName)(Code)(Java Doc) public PropertyGenerator[] getPropertyGenerators(String modeName)(Code)(Java Doc) public PropertyGenerator[] getPropertyGenerators()(Code)(Java Doc) public Class getRenderableDestClass()(Code)(Java Doc) public Class[] getRenderableSourceClasses()(Code)(Java Doc) public ResourceBundle getResourceBundle(Locale locale)(Code)(Java Doc) public String[][] getResources(Locale locale)(Code)(Java Doc) public Class[] getSourceClasses(String modeName)(Code)(Java Doc) public Class[] getSourceClasses()(Code)(Java Doc) public String[] getSourceNames()(Code)(Java Doc) public String[] getSupportedModes()(Code)(Java Doc) public boolean isImmediate()(Code)(Java Doc) public boolean isModeSupported(String modeName)(Code)(Java Doc) public boolean isRenderableSupported()(Code)(Java Doc) public boolean isRenderedSupported()(Code)(Java Doc) protected static Class[][] makeDefaultSourceClassList(String[] supportedModes, int numSources)(Code)(Java Doc) public boolean validateArguments(String modeName, ParameterBlock args, StringBuffer msg)(Code)(Java Doc) public boolean validateArguments(ParameterBlock args, StringBuffer msg)(Code)(Java Doc) protected boolean validateParameters(String modeName, ParameterBlock args, StringBuffer msg)(Code)(Java Doc) protected boolean validateParameters(ParameterBlock args, StringBuffer msg)(Code)(Java Doc) public boolean validateRenderableArguments(ParameterBlock args, StringBuffer msg)(Code)(Java Doc) protected boolean validateRenderableSources(ParameterBlock args, StringBuffer msg)(Code)(Java Doc) protected boolean validateSources(String modeName, ParameterBlock args, StringBuffer msg)(Code)(Java Doc) protected boolean validateSources(ParameterBlock args, StringBuffer msg)(Code)(Java Doc)
|
|
|