uk.ac.essex.ia.media.point
Class CompositeOperator

java.lang.Object
  extended by uk.ac.essex.ia.media.OperatorImpl
      extended by uk.ac.essex.ia.media.point.CompositeOperator
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, Operator

public class CompositeOperator
extends OperatorImpl

An operator to overlay one on top of another You should have received a copy of GNU public license with this code. If not please visit this site

See Also:
Serialized Form

Field Summary
static java.lang.String alphaFirst
           
static java.lang.String alphaLast
           
static java.lang.String noAlpha
           
static java.lang.String PARAM
           
static java.lang.String PARAM2
           
 
Fields inherited from class uk.ac.essex.ia.media.OperatorImpl
iconURL, inputParameters, label, operatorDescriptor, operatorDialog, translator
 
Constructor Summary
CompositeOperator()
           
CompositeOperator(OperatorDescriptor operatorType)
           
 
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 showOperatorDialog()
          Show a GUI that allows users to modify the parameters for the underlying operation
 
Methods inherited from class uk.ac.essex.ia.media.OperatorImpl
acceptsInputFrom, clone, getAllowedInputs, getAllowedOutputs, getHelpID, getIcon, getInputParameters, getInputParametersForWriting, getOperatorDialog, getOutputData, getRequiredInputs, getSingleSource, initSingleImageParameterBlock, readExternal, setInputParameters, setOperatorDialog, toString, writeExternal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

alphaFirst

public static final java.lang.String alphaFirst
See Also:
Constant Field Values

alphaLast

public static final java.lang.String alphaLast
See Also:
Constant Field Values

noAlpha

public static final java.lang.String noAlpha
See Also:
Constant Field Values

PARAM

public static final java.lang.String PARAM
See Also:
Constant Field Values

PARAM2

public static final java.lang.String PARAM2
See Also:
Constant Field Values
Constructor Detail

CompositeOperator

public CompositeOperator()

CompositeOperator

public CompositeOperator(OperatorDescriptor operatorType)
Method Detail

showOperatorDialog

public void showOperatorDialog()
Show a GUI that allows users to modify the parameters for the underlying operation

Specified by:
showOperatorDialog in interface Operator
Overrides:
showOperatorDialog in class OperatorImpl

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