Class JDialogEnhancedDicomChoice

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

public class JDialogEnhancedDicomChoice extends JDialogBase
Confirmation Dialog giving user the choice to write an enhanced dicom MR, CT, XA, or Other file.
See Also:
  • Field Details

    • enhancedMR

      private JRadioButton enhancedMR
      Radio button to indicate that an enhanced MR file should be written out.
    • enhancedCT

      private JRadioButton enhancedCT
      Radio button to indicate that an enhanced CT file should be written out.
    • enhancedXA

      private JRadioButton enhancedXA
      Radio button to indicate that an enhanced XA file should be written out.
    • enhancedOther

      private JRadioButton enhancedOther
    • okayPressed

      private boolean okayPressed
      Whether the window was closed through the user clicking the OK button (and not just killing the dialog).
  • Constructor Details

    • JDialogEnhancedDicomChoice

      public JDialogEnhancedDicomChoice(Frame theParentFrame)
      Creates new dialog.
      Parameters:
      theParentFrame - Parent frame of dialog.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Checks to see if the OK or Cancel buttons were pressed.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      event - Event that triggered this function.
    • dicomType

      public String dicomType()
      Returns whether enhancedMR, enhancedCT, or enhancedXA
      Returns:
      whether enhancedMR, enhancedCT, or enhancedXA
    • okayPressed

      public boolean okayPressed()
      Was the okay button pressed.
      Returns:
      boolean was okay pressed
    • init

      private void init()
      Creates and displays dialog.