public class AbstractOperatorDescriptor extends javax.media.jai.OperationDescriptorImpl implements IOperatorDescriptor
OperationDescriptor and extends it by some custom members and
methods.| Modifier and Type | Field and Description |
|---|---|
protected int |
numSources |
protected List<DataType> |
outputTypes
A list of all data types, this operator can produce.
|
protected Class[] |
paramClasses |
protected Object[] |
paramDefaults |
protected String[] |
paramNames |
protected String[][] |
resources |
private static long |
serialVersionUID
The UID for serialization.
|
protected StackProcessingType |
stackProcessingType
The type of stack processing.
|
protected OperatorType |
type
The type of the operator.
|
protected javax.media.jai.util.Range[] |
validParamValues |
| Constructor and Description |
|---|
AbstractOperatorDescriptor(String[][] resources,
int numSources,
String[] paramNames,
Class[] paramClasses,
Object[] paramDefaults,
javax.media.jai.util.Range[] validParamValues,
OperatorType type,
DataType[] outputTypes)
This constructor builds an object for IQM use only.
|
AbstractOperatorDescriptor(String[][] resources,
int numSources,
String[] paramNames,
Class[] paramClasses,
Object[] paramDefaults,
javax.media.jai.util.Range[] validParamValues,
OperatorType type,
DataType[] outputTypes,
StackProcessingType stackProcessingType)
This constructor builds an object for IQM use only.
|
AbstractOperatorDescriptor(String[][] resources,
String[] supportedModes,
int numSources,
String[] paramNames,
Class[] paramClasses,
Object[] paramDefaults,
javax.media.jai.util.Range[] validParamValues,
OperatorType type,
DataType[] outputTypes)
This constructor builds an object for both JAI and IQM usage.
|
AbstractOperatorDescriptor(String[][] resources,
String[] supportedModes,
int numSources,
String[] paramNames,
Class[] paramClasses,
Object[] paramDefaults,
javax.media.jai.util.Range[] validParamValues,
OperatorType type,
DataType[] outputTypes,
StackProcessingType stackProcessingType)
This constructor builds an object for both JAI and IQM usage.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArgumentDescription(int index) |
String |
getDescription() |
String |
getDocURL() |
String |
getName() |
int |
getNumSources()
Returns the number of sources required by this operation.
|
List<DataType> |
getOutputTypes()
Returns a list of data types, this operator is able to produce.
|
Class[] |
getParamClasses() |
Object[] |
getParamDefaults() |
String[] |
getParamNames() |
protected ResourceBundle |
getResourceBundle() |
String[][] |
getResources() |
StackProcessingType |
getStackProcessingType() |
OperatorType |
getType() |
javax.media.jai.util.Range[] |
getValidParamValues() |
String |
getVendor() |
String |
getVersion() |
String |
toString() |
arePropertiesSupported, getDefaultSourceClass, getDestClass, getDestClass, getInvalidRegion, getNumParameters, getParamDefaultValue, getParameterListDescriptor, getParamMaxValue, getParamMinValue, getPropertyGenerators, getPropertyGenerators, getRenderableDestClass, getRenderableSourceClasses, getResourceBundle, getResources, getSourceClasses, getSourceClasses, getSourceNames, getSupportedModes, isImmediate, isModeSupported, isRenderableSupported, isRenderedSupported, makeDefaultSourceClassList, validateArguments, validateArguments, validateParameters, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSourcesprivate static final long serialVersionUID
protected OperatorType type
protected StackProcessingType stackProcessingType
protected final List<DataType> outputTypes
protected final String[][] resources
protected final int numSources
protected final String[] paramNames
protected final Class[] paramClasses
protected final Object[] paramDefaults
protected final javax.media.jai.util.Range[] validParamValues
public AbstractOperatorDescriptor(String[][] resources, String[] supportedModes, int numSources, String[] paramNames, Class[] paramClasses, Object[] paramDefaults, javax.media.jai.util.Range[] validParamValues, OperatorType type, DataType[] outputTypes, StackProcessingType stackProcessingType)
resources - the resources arraysupportedModes - the supported modes, see also
OperationDescriptorImpl.getSupportedModes()numSources - the number of sourcesparamNames - the names of the parametersparamClasses - the classes of the parametersparamDefaults - the default values of the parametersvalidParamValues - valid parameter rangestype - the type of the operator, see OperatorTypeoutputTypes - the DataTypes this operator is able to producestackProcessingType - the stack processing type of the operator, see
StackProcessingTypepublic AbstractOperatorDescriptor(String[][] resources, String[] supportedModes, int numSources, String[] paramNames, Class[] paramClasses, Object[] paramDefaults, javax.media.jai.util.Range[] validParamValues, OperatorType type, DataType[] outputTypes)
resources - the resources arraysupportedModes - the supported modes, see also
OperationDescriptorImpl.getSupportedModes()numSources - the number of sourcesparamNames - the names of the parametersparamClasses - the classes of the parametersparamDefaults - the default values of the parametersvalidParamValues - valid parameter rangestype - the type of the operator, see OperatorTypeoutputTypes - the DataTypes this operator is able to producepublic AbstractOperatorDescriptor(String[][] resources, int numSources, String[] paramNames, Class[] paramClasses, Object[] paramDefaults, javax.media.jai.util.Range[] validParamValues, OperatorType type, DataType[] outputTypes, StackProcessingType stackProcessingType)
The super constructor of OperationDescriptorImpl is overloaded
and the value of supportedModes is overwritten by
new String[] { "IQMCustom" }
resources - the resources arraynumSources - the number of sourcesparamNames - the names of the parametersparamClasses - the classes of the parametersparamDefaults - the default values of the parametersvalidParamValues - valid parameter rangestype - the type of the operator, see OperatorTypeoutputTypes - the DataTypes this operator is able to producestackProcessingType - the stack processing type of the operator, see
StackProcessingTypepublic AbstractOperatorDescriptor(String[][] resources, int numSources, String[] paramNames, Class[] paramClasses, Object[] paramDefaults, javax.media.jai.util.Range[] validParamValues, OperatorType type, DataType[] outputTypes)
The super constructor of OperationDescriptorImpl is overloaded
and the value of supportedModes is overwritten by
new String[] { "IQMCustom" }
resources - the resources arraynumSources - the number of sourcesparamNames - the names of the parametersparamClasses - the classes of the parametersparamDefaults - the default values of the parametersvalidParamValues - valid parameter rangestype - the type of the operator, see OperatorTypeoutputTypes - the DataTypes this operator is able to producepublic int getNumSources()
getNumSources in interface IOperatorDescriptorgetNumSources in interface javax.media.jai.OperationDescriptorgetNumSources in class javax.media.jai.OperationDescriptorImplpublic String getName()
getName in interface IOperatorDescriptorgetName in interface javax.media.jai.RegistryElementDescriptorgetName in class javax.media.jai.OperationDescriptorImplpublic OperatorType getType()
getType in interface IOperatorDescriptorOperatorTypepublic String getVendor()
public String getDescription()
public String getArgumentDescription(int index)
public String getVersion()
public String getDocURL()
public String[][] getResources()
getResources in interface IOperatorDescriptorpublic String[] getParamNames()
getParamNames in interface IOperatorDescriptorgetParamNames in interface javax.media.jai.OperationDescriptorgetParamNames in class javax.media.jai.OperationDescriptorImplpublic Class[] getParamClasses()
getParamClasses in interface IOperatorDescriptorgetParamClasses in interface javax.media.jai.OperationDescriptorgetParamClasses in class javax.media.jai.OperationDescriptorImplpublic Object[] getParamDefaults()
getParamDefaults in interface IOperatorDescriptorgetParamDefaults in interface javax.media.jai.OperationDescriptorgetParamDefaults in class javax.media.jai.OperationDescriptorImplpublic javax.media.jai.util.Range[] getValidParamValues()
getValidParamValues in interface IOperatorDescriptorprotected ResourceBundle getResourceBundle()
public StackProcessingType getStackProcessingType()
getStackProcessingType in interface IOperatorDescriptorStackProcessingTypepublic List<DataType> getOutputTypes()
IOperatorDescriptorgetOutputTypes in interface IOperatorDescriptorCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.