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

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
      extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamFileCollectionFactory
          extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamVolumeCollectionFactory
              extended by edu.jhu.ece.iacl.jist.pipeline.factory.ParamWeightedVolumeCollectionFactory

public class ParamWeightedVolumeCollectionFactory
extends ParamVolumeCollectionFactory

Weighted Volume Parameter Factory.

Author:
Blake Lucas

Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
inputView, outputView
 
Constructor Summary
ParamWeightedVolumeCollectionFactory(ParamWeightedVolumeCollection param)
          Instantiates a new param weighted volumes factory.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ParamInputView getInputView()
          Get the current input view.
 ParamOutputView getOutputView()
          Get the current output view.
 ParamWeightedVolumeCollection getParameter()
          Get the parameter.
 boolean importParameter(ParamModel foreign)
          Import parameter into existing parameter as long as parameter is not more restrictive than this parameter.
 boolean loadResources(ParamModel foreignCollection, javax.swing.ProgressMonitor monitor)
          Load Model Image from file specified in foreign parameter.
 boolean saveResources(java.io.File dir, boolean saveSubDirectoryOverride)
          Save Model Image to specified directory.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamVolumeCollectionFactory
importMipavParameter
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFileCollectionFactory
createMipavParameter
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.factory.ParamFactory
createTreeNode, 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

ParamWeightedVolumeCollectionFactory

public ParamWeightedVolumeCollectionFactory(ParamWeightedVolumeCollection param)
Instantiates a new param weighted volumes factory.

Parameters:
param - the param
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class ParamVolumeCollectionFactory

getInputView

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

Overrides:
getInputView in class ParamVolumeCollectionFactory
Returns:
the input view

getOutputView

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

Overrides:
getOutputView in class ParamVolumeCollectionFactory
Returns:
the output view

getParameter

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

Overrides:
getParameter in class ParamVolumeCollectionFactory
Returns:
the parameter

importParameter

public boolean importParameter(ParamModel foreign)
Description copied from class: ParamFactory
Import parameter into existing parameter as long as parameter is not more restrictive than this parameter. This method copies value of foreign parameter into this parameter.

Overrides:
importParameter in class ParamFactory
Parameters:
foreign - foreign parameter
Returns:
import successful

loadResources

public boolean loadResources(ParamModel foreignCollection,
                             javax.swing.ProgressMonitor monitor)
Load Model Image from file specified in foreign parameter.

Overrides:
loadResources in class ParamVolumeCollectionFactory
Parameters:
foreignCollection - foreign parameter collection
monitor - the monitor
Returns:
external resources loaded correctly

saveResources

public boolean saveResources(java.io.File dir,
                             boolean saveSubDirectoryOverride)
Save Model Image to specified directory.

Overrides:
saveResources in class ParamVolumeCollectionFactory
Parameters:
dir - save directory
Returns:
external resources saved correctly