Class JDialogOverlay

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

public class JDialogOverlay extends JDialogBase

Title: JDialogOverlay

Description: dialog for choosing 16 overlays (dicom tags or image attributes)

Copyright: Copyright (c) 2003

Company:

Author:
benny the link
See Also:
  • Field Details

    • serialVersionUID

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

      public static String BLANK_OVERLAY
      blank overlay string.
    • attribStr

      public static String[] attribStr
      attribute string (for image attributes).
    • borderTitles

      private String[] borderTitles
      DOCUMENT ME!
    • buttonArray

      private JButton[] buttonArray
      DOCUMENT ME!
    • headerString

      private String headerString
      DOCUMENT ME!
    • isDicom

      private boolean isDicom
      DOCUMENT ME!
    • nameArray

      private JTextField[] nameArray
      DOCUMENT ME!
    • overlayNames

      private String[] overlayNames
      DOCUMENT ME!
    • overlayValues

      private String[] overlayValues
      DOCUMENT ME!
    • tagDialog

      DOCUMENT ME!
    • showOverlayBox

      private JCheckBox showOverlayBox
    • comp

  • Constructor Details

    • JDialogOverlay

      public JDialogOverlay(Frame theParentFrame, boolean isDicom, String headerStr, ViewJComponentEditImage comp)
      constructor to be called from ViewJFrameImage.
      Parameters:
      theParentFrame - Frame the parent frame
      isDicom - boolean is the image dicom
      headerStr - DOCUMENT ME!
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      performed an action!
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      e - ActionEvent
    • windowClosing

      public void windowClosing(WindowEvent event)
      cleanup on closing.
      Specified by:
      windowClosing in interface WindowListener
      Overrides:
      windowClosing in class JDialogBase
      Parameters:
      event - WindowEvent
    • buildPanel

      private JPanel buildPanel(int quadrant)
      builds each quadrant panel that has 4 buttons.
      Parameters:
      quadrant - int (0-4)
      Returns:
      JPanel
    • init

      private void init()
      initialize the dialog.
    • setOverlayButtons

      private void setOverlayButtons()
      Sets the text for the overlay buttons (dicom or image attrib).