Class JDialogDSC_MRI_toolbox

All Implemented Interfaces:
ScriptableActionInterface, DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class JDialogDSC_MRI_toolbox extends JDialogScriptableBase
See Also:
  • Field Details

    • dsc

      private DSC_MRI_toolbox dsc
      DOCUMENT ME!
    • image

      private ModelImage image
      Source image.
    • outputFileDirectoryText

      private JTextField outputFileDirectoryText
    • outputFileDirectory

      private String outputFileDirectory
    • teLabel

      private JLabel teLabel
    • teText

      private JTextField teText
    • te

      private double te
    • TEString

      private String TEString
    • trLabel

      private JLabel trLabel
    • trText

      private JTextField trText
    • tr

      private double tr
    • TRString

      private String TRString
    • aif_nSliceLabel

      private JLabel aif_nSliceLabel
    • aif_nSliceText

      private JTextField aif_nSliceText
    • aif_nSlice

      private int aif_nSlice
    • svdLabel

      private JLabel svdLabel
    • svdCheckBox

      private JCheckBox svdCheckBox
    • csvdCheckBox

      private JCheckBox csvdCheckBox
    • osvdCheckBox

      private JCheckBox osvdCheckBox
    • deconv_method

      private String[] deconv_method
    • userInterface

      private ViewUserInterface userInterface
    • nS

      private int nS
    • svdMethodsSelected

      private int svdMethodsSelected
    • do_svd

      private boolean do_svd
    • do_csvd

      private boolean do_csvd
    • do_osvd

      private boolean do_osvd
  • Constructor Details

    • JDialogDSC_MRI_toolbox

      public JDialogDSC_MRI_toolbox()
      Empty constructor needed for dynamic instantiation.
    • JDialogDSC_MRI_toolbox

      public JDialogDSC_MRI_toolbox(Frame theParentFrame, ModelImage im)
      Construct the bilateral filter dialog.
      Parameters:
      theParentFrame - Parent frame.
      im - Source image.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Closes dialog box when the OK button is pressed and calls the algorithm.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      event - Event that triggers function.
    • init

      private void init()
      Sets up the GUI (panels, buttons, etc) and displays it on the screen.
    • setVariables

      private boolean setVariables()
    • callAlgorithm

      protected void callAlgorithm()
      Description copied from class: JDialogScriptableBase
      Starts the algorithm. Already exists in most algorithm dialogs. Should be called during scripted execution and regular operation.
      Specified by:
      callAlgorithm in class JDialogScriptableBase
    • setGUIFromParams

      protected void setGUIFromParams()
      Description copied from class: JDialogScriptableBase
      Set the dialog GUI using the script parameters while running this algorithm as part of a script.
      Specified by:
      setGUIFromParams in class JDialogScriptableBase
    • storeParamsFromGUI

      protected void storeParamsFromGUI() throws ParserException
      Description copied from class: JDialogScriptableBase
      Record the parameters just used to run this algorithm in a script.
      Specified by:
      storeParamsFromGUI in class JDialogScriptableBase
      Throws:
      ParserException - If there is a problem creating/recording the new parameters.