edu.jhu.ece.iacl.jist.pipeline.factory
Class ParamColorFactory

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
      extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamColorFactory

public class ParamColorFactory
extends ParamFactory

Color Parameter Factory.

Author:
Blake Lucas

Field Summary
protected  ParamColor param
          The param.
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
inputView, outputView
 
Constructor Summary
ParamColorFactory(ParamColor param)
          Instantiates a new param color factory.
 
Method Summary
 void createMipavParameter(AlgorithmParameters scriptParams)
          Create Mipav parameter from MAPS parameter.
 ParamInputView getInputView()
          Get the current input view.
 ParamOutputView getOutputView()
          Get the current output view.
 ParamColor getParameter()
          Get the parameter.
 void importMipavParameter(ParameterTable paramTable)
          Import Mipav parameter into this parameter.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
createTreeNode, decodeName, decodeValue, encodeName, encodeValue, equals, fromXML, fromXML, importParameter, isCompatible, loadResources, read, read, saveResources, setInputView, setOutputView, toXML, write, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

param

protected ParamColor param
The param.

Constructor Detail

ParamColorFactory

public ParamColorFactory(ParamColor param)
Instantiates a new param color factory.

Parameters:
param - the param
Method Detail

createMipavParameter

public void createMipavParameter(AlgorithmParameters scriptParams)
                          throws ParserException
Description copied from class: ParamFactory
Create Mipav parameter from MAPS parameter.

Specified by:
createMipavParameter in class ParamFactory
Parameters:
scriptParams - script parameters that will store this parameter
Throws:
ParserException - the parser exception
See Also:
edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory#createMipavParameter(gov.nih.mipav.view.dialogs.AlgorithmParameters)

getInputView

public ParamInputView getInputView()
Description copied from class: ParamFactory
Get the current input view.

Specified by:
getInputView in class ParamFactory
Returns:
the input view
See Also:
ParamFactory.getInputView()

getOutputView

public ParamOutputView getOutputView()
Description copied from class: ParamFactory
Get the current output view.

Specified by:
getOutputView in class ParamFactory
Returns:
the output view
See Also:
ParamFactory.getOutputView()

getParameter

public ParamColor getParameter()
Description copied from class: ParamFactory
Get the parameter.

Specified by:
getParameter in class ParamFactory
Returns:
the parameter
See Also:
ParamFactory.getParameter()

importMipavParameter

public void importMipavParameter(ParameterTable paramTable)
                          throws ParameterException
Description copied from class: ParamFactory
Import Mipav parameter into this parameter.

Specified by:
importMipavParameter in class ParamFactory
Parameters:
paramTable - the param table
Throws:
ParameterException - the parameter exception
See Also:
edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory#importMipavParameter(gov.nih.mipav.model.scripting.parameters.ParameterTable)