Class JDialogOrder

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

public class JDialogOrder extends JDialogBase
Confirmation dialog used in AFNI to decide whether to reorder the image to dicom order.
See Also:
  • Field Details

    • serialVersionUID

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

      private JRadioButton datasetOrder
      Load image using dataset-specific ordering
    • dicomOrder

      private JRadioButton dicomOrder
      Load image using dicom ordering (R-L, A-P, I-S)
    • dontAskAgain

      private JCheckBox dontAskAgain
      Whether to ask user next time choice is available for AFNI ordering.
  • Constructor Details

    • JDialogOrder

      public JDialogOrder(Frame theParentFrame, int[] orients)
      Creates new dialog.
      Parameters:
      theParentFrame - Parent frame of dialog.
      orients - Axis orientation of image.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Disposes of dialog.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      event - Event that triggered this function.
    • doDicom

      public boolean doDicom()
      Accessor that returns flag for ordering to dicom.
      Returns:
      true if should order to dicom.
    • init

      private void init(int[] orientSpecific)
      Creates and displays dialog.
      Parameters:
      orientSpecific - Orientation of the image's axes.