|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.essex.ia.media.OperatorImpl uk.ac.essex.ia.media.area.BoxFilterOperator
public class BoxFilterOperator
Date: Jun 5, 2002
Field Summary |
---|
Fields inherited from class uk.ac.essex.ia.media.OperatorImpl |
---|
iconURL, inputParameters, label, operatorDescriptor, operatorDialog, translator |
Constructor Summary | |
---|---|
BoxFilterOperator()
|
|
BoxFilterOperator(OperatorDescriptor operatorType)
Operators also need to implment this method and should ensure they call the superclass constructor of the same signature OperatorImpl.OperatorImpl(uk.ac.essex.ia.opview.xml.OperatorDescriptor) . |
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()
In this function implmentations should handle displaying the OperatorImpl.operatorDialog
via its show() method. |
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 |
Constructor Detail |
---|
public BoxFilterOperator()
public BoxFilterOperator(OperatorDescriptor operatorType)
OperatorImpl.OperatorImpl(uk.ac.essex.ia.opview.xml.OperatorDescriptor)
.
operatorType
- - The xml descriptor for this operatorMethod Detail |
---|
public void showOperatorDialog()
OperatorImpl.operatorDialog
via its show() method. Also any input parameters should if instantiated be loaded
into the dialog prior to it being displayed. These should then be dislpayed after
it is complete. NB this is modal dialog so once the show method is called
execution will block. After the call the parameters can be got via
OperatorDialog.getParameter(java.lang.String)
.
showOperatorDialog
in interface Operator
showOperatorDialog
in class OperatorImpl
public java.awt.image.RenderedImage execute(java.awt.image.renderable.ParameterBlock inData) throws java.lang.Exception
execute
in interface Operator
execute
in class OperatorImpl
inData
- - The input data to this operator
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |