Class JDialogTriFrameLinker

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

public class JDialogTriFrameLinker extends JDialogBase
Dialog to get user input, then call the algorithm. The user has the option to generate a new image or replace the source image. In addition the user can indicate if you wishes to have the algorithm applied to whole image or to the VOI regions. In should be noted, that the algorithms are executed in their own thread.
Version:
0.9 Oct 10, 2002
Author:
Matthew J. McAuliffe, Ph.D.
See Also:
  • Field Details

    • serialVersionUID

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

      private JComboBox comboBoxImage
      DOCUMENT ME!
    • frameB

      private ViewJFrameTriImage frameB
      DOCUMENT ME!
    • imageA

      private ModelImage imageA
      DOCUMENT ME!
    • imageB

      private ModelImage imageB
      DOCUMENT ME!
    • linkButton

      private JButton linkButton
      DOCUMENT ME!
    • userInterface

      private ViewUserInterface userInterface
      DOCUMENT ME!
  • Constructor Details

    • JDialogTriFrameLinker

      public JDialogTriFrameLinker(ModelImage im)
      Used primarily for the script to store variables and run the algorithm. No actual dialog will appear but the set up info and result image will be stored here.
      Parameters:
      im - Source image.
    • JDialogTriFrameLinker

      public JDialogTriFrameLinker(Frame theParentFrame, ModelImage im)
      Creates new image calculator dialog and displays.
      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
    • windowClosing

      public void windowClosing(WindowEvent event)
      windowClosing - calls close.
      Specified by:
      windowClosing in interface WindowListener
      Overrides:
      windowClosing in class JDialogBase
      Parameters:
      event - event that triggered function
    • buildComboBoxImage

      private void buildComboBoxImage()
      Builds a list of images to operate on from the template image.
    • init

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