uk.ac.essex.ia.media.point
Class AddConstOperator
java.lang.Object
uk.ac.essex.ia.media.OperatorImpl
uk.ac.essex.ia.media.point.AddConstOperator
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, Operator
public class AddConstOperator
- extends OperatorImpl
Date: May 28, 2002
You should have received a copy of GNU public license with this code.
If not please visit this site
- See Also:
- Serialized Form
Method Summary |
java.awt.image.RenderedImage |
execute(java.awt.image.renderable.ParameterBlock inData)
Execute this operator with the input data passed as a parameter |
void |
setInputParameters(java.awt.image.renderable.ParameterBlock inputParameters)
Overriden so the input array is stored as the local variable constantsArray |
void |
showOperatorDialog()
Not only does this function show the GUI, it also creates the dialog and
then disposes of it when done. |
Methods inherited from class uk.ac.essex.ia.media.OperatorImpl |
acceptsInputFrom, clone, getAllowedInputs, getAllowedOutputs, getHelpID, getIcon, getInputParameters, getInputParametersForWriting, getOperatorDialog, getOutputData, getRequiredInputs, getSingleSource, initSingleImageParameterBlock, readExternal, setOperatorDialog, toString, writeExternal |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AddConstOperator
public AddConstOperator()
AddConstOperator
public AddConstOperator(OperatorDescriptor operatorType)
showOperatorDialog
public void showOperatorDialog()
- Not only does this function show the GUI, it also creates the dialog and
then disposes of it when done. The reason for this is so when an operator
is serialized we don't serialize unnecessary data (ie/ the dialog)
- Specified by:
showOperatorDialog
in interface Operator
- Overrides:
showOperatorDialog
in class OperatorImpl
setInputParameters
public void setInputParameters(java.awt.image.renderable.ParameterBlock inputParameters)
- Overriden so the input array is stored as the local variable
constantsArray
- Specified by:
setInputParameters
in interface Operator
- Overrides:
setInputParameters
in class OperatorImpl
- Parameters:
inputParameters
-
execute
public java.awt.image.RenderedImage execute(java.awt.image.renderable.ParameterBlock inData)
throws java.lang.Exception
- Execute this operator with the input data passed as a parameter
- Specified by:
execute
in interface Operator
- Overrides:
execute
in class OperatorImpl
- Parameters:
inData
- - The input data to this operator
- Throws:
java.lang.Exception