|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.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 params| Method Detail |
|---|
public void createMipavParameter(AlgorithmParameters scriptParams)
throws ParserException
ParamFactory
createMipavParameter in class ParamFactoryscriptParams - script parameters that will store this parameter
ParserException - the parser exceptionpublic javax.swing.tree.MutableTreeNode createTreeNode()
ParamFactory
createTreeNode in class ParamFactorypublic boolean equals(java.lang.Object obj)
equals in class ParamFactorypublic ParamInputView getInputView()
ParamFactory
getInputView in class ParamFactorypublic ParamOutputView getOutputView()
ParamFactory
getOutputView in class ParamFactorypublic ParamCollection getParameter()
ParamFactory
getParameter in class ParamFactorypublic ParamModel getParameter(java.lang.String name)
name - the name
public void importMipavParameter(ParameterTable paramTable)
throws ParameterException
ParamFactory
importMipavParameter in class ParamFactoryparamTable - the param table
ParameterException - the parameter exceptionpublic boolean importParameter(ParamModel model)
ParamFactory
importParameter in class ParamFactorymodel - foreign parameter
public boolean loadResources(ParamModel foreign,
javax.swing.ProgressMonitor monitor)
ParamFactory
loadResources in class ParamFactoryforeign - foreign parametermonitor - TODO
public boolean saveResources(java.io.File dir,
boolean saveSubDirectoryOverride)
ParamFactory
saveResources in class ParamFactorydir - directory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||