Class JDialogDicomTagSelector

All Implemented Interfaces:
ScriptableActionInterface, DialogDefaultsInterface, DicomTagSelectorImpl, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ListSelectionListener, RootPaneContainer, WindowConstants
Direct Known Subclasses:
JDialogDicomTagMultiEditor

public class JDialogDicomTagSelector extends JDialogScriptableBase implements ListSelectionListener, DicomTagSelectorImpl
This class allows for DICOM tags to be selected. Selected DICOM tags can either come from the overall DICOM dictionary or from the tags that exist in a given image.
Author:
senseneyj
See Also:
  • Field Details

    • ADD_TAG

      public static final String ADD_TAG
      For adding a top level dicom tag
      See Also:
    • ADD_TAG_SEQ

      public static final String ADD_TAG_SEQ
      For adding a dicom tag contained within a sequence
      See Also:
    • CLOSE

      public static final String CLOSE
      Closes the dialog
      See Also:
    • CLEAR_TAGS

      public static final String CLEAR_TAGS
      For removing all tags from the main dialog
      See Also:
    • UNKNOWN

      public static final String UNKNOWN
      Indicates tag value may exist but cannot be understood by the dialog.
      See Also:
    • SEQUENCE

      public static final String SEQUENCE
      Indicates tag value is a sequence tag
      See Also:
    • PRIVATE

      public static final String PRIVATE
      Indicates tag is a private tag
      See Also:
    • SCROLL_PANE_SIZE

      private final Dimension SCROLL_PANE_SIZE
      Min/max size of all text boxes contained in scroll panes.
    • groupToElement

      private TreeMap<String,ArrayList<String>> groupToElement
      List of all file's elements for each group of a FileDicomKey set
    • groupToElementSeq

      private TreeMap<String,ArrayList<String>> groupToElementSeq
      List of all file's elements for each group of a FileDicomKey set
    • keyToName

      private TreeMap<String,String> keyToName
      FileDicomTag to its name in the Dicom dictionary
    • keyToNameSeq

      private TreeMap<String,String> keyToNameSeq
      FileDicomTag to its name in the Dicom dictionary
    • keyToValue

      private TreeMap<String,String> keyToValue
      FileDicomTag to its value in the file
    • keyToValueSeq

      private TreeMap<String,String> keyToValueSeq
      FileDicomTag to its value in the file
    • tagSelectorPanel

      private JPanel tagSelectorPanel
      Panels used by this dialog box
    • tagInformationPanel

      private JPanel tagInformationPanel
      Panels used by this dialog box
    • sequenceInformationPanel

      private JPanel sequenceInformationPanel
      Panels used by this dialog box
    • groupList

      private JList groupList
      Lists used to display available DICOM tags
    • elementList

      private JList elementList
      Lists used to display available DICOM tags
    • groupCombo

      private JComboBox groupCombo
      Combo boxes used for sequence tags
    • elementCombo

      private JComboBox elementCombo
      Combo boxes used for sequence tags
    • addButton

      protected JButton addButton
      Buttons used by this dialog
    • addButtonSeq

      protected JButton addButtonSeq
      Buttons used by this dialog
    • clearButton

      protected JButton clearButton
      Buttons used by this dialog
    • closeButton

      protected JButton closeButton
      Buttons used by this dialog
    • nameValue

      private JLabel nameValue
      Name and property labels that describe a DICOM tag for a particular file
    • nameValueSeq

      private JLabel nameValueSeq
      Name and property labels that describe a DICOM tag for a particular file
    • propertyValueSeq

      private JLabel propertyValueSeq
      Name and property labels that describe a DICOM tag for a particular file
    • propertyValue

      private JTextField propertyValue
    • tagList

      protected Hashtable<FileDicomKey,FileDicomTag> tagList
      Original list of available DICOM tags
    • parentDialog

      private DicomTagSelectorImpl parentDialog
      The parent dialog which receives text from this dicom tag editor
    • embeddedPanel

      private JPanel embeddedPanel
      When this object exists as an embedded panel, this variable contains all necessary data elements.
    • tablePanel

      private JPanel tablePanel
      Panel contains JTable for storing dicom tags.
    • propertyLabel

      private JLabel propertyLabel
      When a tag value exists, this label displays the text "Tag value:"
    • propPane

      private JScrollPane propPane
      When a tag value exists, this panel displays the value
    • elementSeqText

      private JTextField elementSeqText
      Text fields for displaying/entering a group/element tag
    • groupSeqText

      private JTextField groupSeqText
      Text fields for displaying/entering a group/element tag
    • elementText

      private JTextField elementText
      Text fields for displaying/entering a group/element tag
    • groupText

      private JTextField groupText
      Text fields for displaying/entering a group/element tag
    • k1

    • k2

    • tagsTable

      protected JTable tagsTable
      Option table where dicom tags are reported to.
    • isStandalone

      protected boolean isStandalone
    • addListener

      private FocusListener addListener
    • elementFocus

      private JComponent elementFocus
  • Constructor Details

    • JDialogDicomTagSelector

      public JDialogDicomTagSelector()
      Blank constructor needed for scripting
    • JDialogDicomTagSelector

      public JDialogDicomTagSelector(JDialogBase parent, boolean isStandalone)
  • Method Details