Package gov.nih.mipav.view.dialogs
Class JDialogRunScriptModel
- java.lang.Object
-
- java.util.Observable
-
- gov.nih.mipav.view.dialogs.JDialogRunScriptModel
-
public class JDialogRunScriptModel extends java.util.Observable
- Version:
- 0.1 May 24, 2006
- Author:
- Nathan Pollack -- Contractor (SSAI)
- See Also:
JDialogRunScriptController
,JDialogRunScriptView
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Vector<ScriptImage>
availableImageList
DOCUMENT ME!private int[]
numberOfRequiredVOIsForScriptImages
DOCUMENT ME!private java.lang.String
scriptFile
DOCUMENT ME!private java.lang.String[]
scriptImageActions
DOCUMENT ME!private java.lang.String[]
scriptImageLabels
DOCUMENT ME!private java.lang.String[]
scriptImageVars
DOCUMENT ME!
-
Constructor Summary
Constructors Constructor Description JDialogRunScriptModel()
Creates a new JDialogRunScriptModel object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToAvailableImageList(ModelImage updateItem)
DOCUMENT ME!void
addToAvailableImageList(java.lang.String imageName, java.lang.String imageLocation, boolean isMulti)
DOCUMENT ME!void
addVOI(java.lang.String voiName, java.lang.String voiLocation, int scriptModelImageVectorIndex)
DOCUMENT ME!java.util.Vector<ScriptImage>
getAvailableImageList()
DOCUMENT ME!int
getImageIndex(java.lang.String name)
int[]
getNumberOfRequiredVOIsForScriptImages()
DOCUMENT ME!java.lang.String
getScriptFile()
DOCUMENT ME!ScriptImage
getScriptImage(java.lang.String name)
DOCUMENT ME!java.lang.String[]
getScriptImageActions()
DOCUMENT ME!java.lang.String[]
getScriptImageLabels()
DOCUMENT ME!java.lang.String[]
getScriptImageVars()
DOCUMENT ME!boolean
isImage(java.lang.String name)
DOCUMENT ME!void
setNumberOfRequiredVOIsForScriptImages(int[] numberOfVOIs)
DOCUMENT ME!void
setScriptFile(java.lang.String scriptFile)
DOCUMENT ME!void
setScriptImageVarActions(java.lang.String[] imageActions)
DOCUMENT ME!void
setScriptImageVarLabels(java.lang.String[] imageLabels)
DOCUMENT ME!void
setScriptImageVars(java.lang.String[] imagePlaceHolders)
DOCUMENT ME!
-
-
-
Field Detail
-
availableImageList
private java.util.Vector<ScriptImage> availableImageList
DOCUMENT ME!
-
numberOfRequiredVOIsForScriptImages
private int[] numberOfRequiredVOIsForScriptImages
DOCUMENT ME!
-
scriptFile
private java.lang.String scriptFile
DOCUMENT ME!
-
scriptImageActions
private java.lang.String[] scriptImageActions
DOCUMENT ME!
-
scriptImageLabels
private java.lang.String[] scriptImageLabels
DOCUMENT ME!
-
scriptImageVars
private java.lang.String[] scriptImageVars
DOCUMENT ME!
-
-
Method Detail
-
addToAvailableImageList
public void addToAvailableImageList(ModelImage updateItem)
DOCUMENT ME!- Parameters:
updateItem
- DOCUMENT ME!
-
addToAvailableImageList
public void addToAvailableImageList(java.lang.String imageName, java.lang.String imageLocation, boolean isMulti)
DOCUMENT ME!- Parameters:
imageName
- DOCUMENT ME!imageLocation
- DOCUMENT ME!extents
- DOCUMENT ME!VOIs
- DOCUMENT ME!
-
addVOI
public void addVOI(java.lang.String voiName, java.lang.String voiLocation, int scriptModelImageVectorIndex)
DOCUMENT ME!- Parameters:
voiName
- DOCUMENT ME!voiLocation
- DOCUMENT ME!scriptModelImageVectorIndex
- DOCUMENT ME!
-
getAvailableImageList
public java.util.Vector<ScriptImage> getAvailableImageList()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getNumberOfRequiredVOIsForScriptImages
public int[] getNumberOfRequiredVOIsForScriptImages()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getScriptFile
public java.lang.String getScriptFile()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getScriptImage
public ScriptImage getScriptImage(java.lang.String name)
DOCUMENT ME!- Parameters:
name
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getImageIndex
public int getImageIndex(java.lang.String name)
-
getScriptImageActions
public java.lang.String[] getScriptImageActions()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getScriptImageLabels
public java.lang.String[] getScriptImageLabels()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getScriptImageVars
public java.lang.String[] getScriptImageVars()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
isImage
public boolean isImage(java.lang.String name)
DOCUMENT ME!- Parameters:
name
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
setNumberOfRequiredVOIsForScriptImages
public void setNumberOfRequiredVOIsForScriptImages(int[] numberOfVOIs)
DOCUMENT ME!- Parameters:
numberOfVOIs
- DOCUMENT ME!
-
setScriptFile
public void setScriptFile(java.lang.String scriptFile)
DOCUMENT ME!- Parameters:
scriptFile
- DOCUMENT ME!
-
setScriptImageVarActions
public void setScriptImageVarActions(java.lang.String[] imageActions)
DOCUMENT ME!- Parameters:
imageActions
- DOCUMENT ME!
-
setScriptImageVarLabels
public void setScriptImageVarLabels(java.lang.String[] imageLabels)
DOCUMENT ME!- Parameters:
imageLabels
- DOCUMENT ME!
-
setScriptImageVars
public void setScriptImageVars(java.lang.String[] imagePlaceHolders)
DOCUMENT ME!- Parameters:
imagePlaceHolders
- DOCUMENT ME!
-
-