Package gov.nih.mipav.view.dialogs
Class JDialogDicom2XMLSelection.DicomTagIdentifier
- java.lang.Object
-
- gov.nih.mipav.view.dialogs.JDialogDicom2XMLSelection.DicomTagIdentifier
-
- Enclosing class:
- JDialogDicom2XMLSelection
public class JDialogDicom2XMLSelection.DicomTagIdentifier extends java.lang.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 intoString()
.
-
-
Field Summary
Fields Modifier and Type Field Description protected FileDicomKey
key
The key (held here because it is properly formatted) of the DicomTag held.protected FileDicomTagInfo
tag
The Dicom Tag, held here to return the name of the tag, and when we need the value when processing.
-
Constructor Summary
Constructors Constructor Description DicomTagIdentifier(FileDicomKey k, FileDicomTagInfo t)
Creates a new DicomTagIdentifier object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileDicomKey
getKey()
Accessor to the DICOM Key held.FileDicomTagInfo
getTag()
Accessor to the DICOM tag held.java.lang.String
toString()
Returns the group and element in parenthesis as displayed by the FileDicomKey and the name of the DICOM tag.
-
-
-
Field Detail
-
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 Detail
-
DicomTagIdentifier
DicomTagIdentifier(FileDicomKey k, FileDicomTagInfo t)
Creates a new DicomTagIdentifier object.- Parameters:
k
- DOCUMENT ME!t
- DOCUMENT ME!
-
-
Method Detail
-
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 java.lang.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 classjava.lang.Object
- Returns:
- Returns the group and element in parenthesis as displayed by the FileDicomKey and the name of the DICOM tag.
-
-