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

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

public class ParamIntegerFactory
extends ParamFactory

Integer Parameter Factory.

Author:
Blake Lucas

Field Summary
protected  ParamInteger param
          The param.
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
inputView, outputView
 
Constructor Summary
ParamIntegerFactory(ParamInteger param)
          Instantiates a new param integer 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.
 ParamInteger 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 ParamInteger param
The param.

Constructor Detail

ParamIntegerFactory

public ParamIntegerFactory(ParamInteger param)
Instantiates a new param integer 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

getInputView

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

Specified by:
getInputView in class ParamFactory
Returns:
the input view

getOutputView

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

Specified by:
getOutputView in class ParamFactory
Returns:
the output view

getParameter

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

Specified by:
getParameter in class ParamFactory
Returns:
the parameter

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