Class JDialogDicom2XMLSelection.DicomTagIdentifier

java.lang.Object
gov.nih.mipav.view.dialogs.JDialogDicom2XMLSelection.DicomTagIdentifier
Enclosing class:
JDialogDicom2XMLSelection

public class JDialogDicom2XMLSelection.DicomTagIdentifier extends Object
DicomTagIdentifiers allow collecting both the FileDicomTag with the associated FileDicomKey (the Group and element numbers, properly formatted) of the Dicom Tag in one place, and to ensure that they only display the key and the name string of the Tag in toString().
  • Field Details

    • key

      protected FileDicomKey key
      The key (held here because it is properly formatted) of the DicomTag held.
    • tag

      protected FileDicomTagInfo tag
      The Dicom Tag, held here to return the name of the tag, and when we need the value when processing.
  • Constructor Details

    • DicomTagIdentifier

      DicomTagIdentifier(FileDicomKey k, FileDicomTagInfo t)
      Creates a new DicomTagIdentifier object.
      Parameters:
      k - DOCUMENT ME!
      t - DOCUMENT ME!
  • Method Details

    • getKey

      public FileDicomKey getKey()
      Accessor to the DICOM Key held.
      Returns:
      the DICOM key refering to the tag held.
    • getTag

      public FileDicomTagInfo getTag()
      Accessor to the DICOM tag held.
      Returns:
      The dicom tag with Group and Element number represented by the key.
    • toString

      public String toString()
      Returns the group and element in parenthesis as displayed by the FileDicomKey and the name of the DICOM tag.

      Example: (0018,603A) Doppler Sample Volume Y Position

      Overrides:
      toString in class Object
      Returns:
      Returns the group and element in parenthesis as displayed by the FileDicomKey and the name of the DICOM tag.