|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory edu.jhu.ece.iacl.jist.pipeline.factory.ParamCollectionFactory
public class ParamCollectionFactory
Parameter Collection Factory.
Field Summary |
---|
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory |
---|
inputView, outputView |
Constructor Summary | |
---|---|
ParamCollectionFactory(ParamCollection params)
Instantiates a new param collection factory. |
Method Summary | |
---|---|
void |
createMipavParameter(AlgorithmParameters scriptParams)
Create Mipav parameter from MAPS parameter. |
javax.swing.tree.MutableTreeNode |
createTreeNode()
Creates a new Param object. |
boolean |
equals(java.lang.Object obj)
|
ParamInputView |
getInputView()
Get the current input view. |
ParamOutputView |
getOutputView()
Get the current output view. |
ParamCollection |
getParameter()
Get the parameter. |
ParamModel |
getParameter(java.lang.String name)
Gets the parameter. |
void |
importMipavParameter(ParameterTable paramTable)
Import Mipav parameter into this parameter. |
boolean |
importParameter(ParamModel model)
Import parameter into existing parameter as long as parameter is not more restrictive than this parameter. |
boolean |
loadResources(ParamModel foreign,
javax.swing.ProgressMonitor monitor)
Load external resources specified in foreign parameter into this parameter. |
boolean |
saveResources(java.io.File dir,
boolean saveSubDirectoryOverride)
Save external resources to specified directory. |
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory |
---|
decodeName, decodeValue, encodeName, encodeValue, fromXML, fromXML, isCompatible, read, read, setInputView, setOutputView, toXML, write, write |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParamCollectionFactory(ParamCollection params)
params
- the paramsMethod Detail |
---|
public void createMipavParameter(AlgorithmParameters scriptParams) throws ParserException
ParamFactory
createMipavParameter
in class ParamFactory
scriptParams
- script parameters that will store this parameter
ParserException
- the parser exceptionpublic javax.swing.tree.MutableTreeNode createTreeNode()
ParamFactory
createTreeNode
in class ParamFactory
public boolean equals(java.lang.Object obj)
equals
in class ParamFactory
public ParamInputView getInputView()
ParamFactory
getInputView
in class ParamFactory
public ParamOutputView getOutputView()
ParamFactory
getOutputView
in class ParamFactory
public ParamCollection getParameter()
ParamFactory
getParameter
in class ParamFactory
public ParamModel getParameter(java.lang.String name)
name
- the name
public void importMipavParameter(ParameterTable paramTable) throws ParameterException
ParamFactory
importMipavParameter
in class ParamFactory
paramTable
- the param table
ParameterException
- the parameter exceptionpublic boolean importParameter(ParamModel model)
ParamFactory
importParameter
in class ParamFactory
model
- foreign parameter
public boolean loadResources(ParamModel foreign, javax.swing.ProgressMonitor monitor)
ParamFactory
loadResources
in class ParamFactory
foreign
- foreign parametermonitor
- TODO
public boolean saveResources(java.io.File dir, boolean saveSubDirectoryOverride)
ParamFactory
saveResources
in class ParamFactory
dir
- directory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |