Class JDialogDICOMtoAVI

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

public class JDialogDICOMtoAVI extends JDialogBase implements AlgorithmInterface

Title: JDialogDICOMtoAVI

Description: Dialog for recursively traversing a directory and converting all 3D DICOM images to compressed AVI (using java or native codecs)

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Sir Benjamin Link
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • aviField

      private JTextField aviField
      DOCUMENT ME!
    • browseButton

      private JButton browseButton
      DOCUMENT ME!
    • browseOutputButton

      private JButton browseOutputButton
      DOCUMENT ME!
    • compression

      private int compression
      DOCUMENT ME!
    • compressionBox

      private JComboBox compressionBox
      DOCUMENT ME!
    • dirField

      private JTextField dirField
      DOCUMENT ME!
    • qualityField

      private JTextField qualityField
      DOCUMENT ME!
    • qualityLabel

      private JLabel qualityLabel
      DOCUMENT ME!
    • userInterface

      private ViewUserInterface userInterface
      DOCUMENT ME!
  • Constructor Details

    • JDialogDICOMtoAVI

      public JDialogDICOMtoAVI()
      Constructor for running the DICOM to AVI algorithm.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Method for catching actions (button/script).
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      e - the action event
    • algorithmPerformed

      public void algorithmPerformed(AlgorithmBase algo)
      Method for catching end of algorithm events.
      Specified by:
      algorithmPerformed in interface AlgorithmInterface
      Parameters:
      algo - the algorithm that is caught
    • itemStateChanged

      public void itemStateChanged(ItemEvent event)
      If the M-JPEG option is selected, enable the compression quality field, otherwise turn it off.
      Specified by:
      itemStateChanged in interface ItemListener
      Overrides:
      itemStateChanged in class JDialogBase
      Parameters:
      event - DOCUMENT ME!
    • callAlgorithm

      protected void callAlgorithm()
      Method for calling the Dicom to AVI algorithm.
    • init

      private void init()
      Sets up the dialog window and makes it visible.
    • setVariables

      private boolean setVariables()
      Set up the variables before calling the algorithm. If there is no destination directory or if there is no valid float value for the compression quality (for M-JPEG only), will return false so that the user may correctly set up the algorithm
      Returns:
      DOCUMENT ME!