Class JDialogDTICreateListFile

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

public class JDialogDTICreateListFile extends JDialogBase implements AlgorithmInterface
See Also:
  • Field Details

    • dwiPathTextField

      private JTextField dwiPathTextField
      path to dwi file/dir
    • dwiPathBrowseButton

      private JButton dwiPathBrowseButton
      browse button for dwi file/folder
    • optionsGroup

      private ButtonGroup optionsGroup
      button group for radio buttons
    • gradFileRadio

      private JRadioButton gradFileRadio
      gradient file option
    • bmtxtFileRadio

      private JRadioButton bmtxtFileRadio
      b-matrix file option
    • gradientFilePathTextField

      private JTextField gradientFilePathTextField
      path to gradient file
    • dwiLabel

      private JLabel dwiLabel
      dwi data label
    • gradientFileBrowseButton

      private JButton gradientFileBrowseButton
      browse button
    • bmtxtFilePathTextField

      private JTextField bmtxtFilePathTextField
      path to bmatrix file
    • bmtxtFileBrowseButton

      private JButton bmtxtFileBrowseButton
      browse button
    • outputTextArea

      protected JTextArea outputTextArea
      output text area
    • scrollPane

      private JScrollPane scrollPane
      Scroll Pane for the Text Area
    • currDir

      private String currDir
      current directory
    • studyName

      private String studyName
      study name string
    • prFileDir

      private String prFileDir
      par/rec file directory
    • prFileName

      private String prFileName
      par/rec file name
    • alg

      handle to the algorithm
    • gradientPath

      private String gradientPath
      gradient path
    • bmatrixPath

      private String bmatrixPath
      bmatrix path
    • studyPath

      private String studyPath
      study path
    • isInterleaved

      private boolean isInterleaved
      boolean if interleaved
    • isDICOM

      private boolean isDICOM
      boolean indicating if we are dealing with dicom or par/rec
    • performRegistrationCheckbox

      private JCheckBox performRegistrationCheckbox
      checkbox for performing registration
    • registrationSettingsButton

      private JButton registrationSettingsButton
      button to launch the registration settings
    • regOptions

      handle to JDialogDTICreateListFileRegOAR35DOptions
    • dicomB0VolumeLabel

      private JLabel dicomB0VolumeLabel
      label for dicom b0 volume if doing registration
    • dicomB0VolumeTextField

      private JTextField dicomB0VolumeTextField
      path to dicom b0 volume if doing registration
    • dicomB0VolumePath

      private String dicomB0VolumePath
    • dicomB0VolumeBrowseButton

      private JButton dicomB0VolumeBrowseButton
      browse button to locate the dicom b0 volume if doing registration
  • Constructor Details

    • JDialogDTICreateListFile

      public JDialogDTICreateListFile()
  • Method Details

    • init

      public void init()
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
    • callAlgorithm

      protected void callAlgorithm()
      call algorithm
    • algorithmPerformed

      public void algorithmPerformed(AlgorithmBase algorithm)
      algorithm performed
      Specified by:
      algorithmPerformed in interface AlgorithmInterface
      Parameters:
      algorithm - the algorithm which has just completed
    • validateFilePaths

      public boolean validateFilePaths()
      valdiates the file paths for the study path and gradient file path
      Returns:
      boolean success
    • setBmtxtPath

      public void setBmtxtPath(String bmatrixPath)
      Parameters:
      bmtxtPath -
    • setGradientPath

      public void setGradientPath(String gradientPath)
      Parameters:
      gradientPath -
    • setStudyPath

      public void setStudyPath(String studyPath)
      Parameters:
      studyPath -
    • setInterleaved

      public void setInterleaved(boolean isInterleaved)
      Parameters:
      isInterleaved -
    • windowClosing

      public void windowClosing(WindowEvent event)
      Description copied from class: JDialogBase
      Disposes of error dialog, then frame. Sets cancelled to true.
      Specified by:
      windowClosing in interface WindowListener
      Overrides:
      windowClosing in class JDialogBase
      Parameters:
      event - WindowEvent