com.pixelmed.dicom
Class ContentItemFactory.SpatialCoordinatesContentItem

java.lang.Object
  extended by com.pixelmed.dicom.ContentItem
      extended by com.pixelmed.dicom.ContentItemWithValue
          extended by com.pixelmed.dicom.ContentItemFactory.SpatialCoordinatesContentItem
All Implemented Interfaces:
TreeNode
Enclosing class:
ContentItemFactory

public class ContentItemFactory.SpatialCoordinatesContentItem
extends ContentItemWithValue


Field Summary
protected  float[] graphicData
           
protected  String graphicType
           
 
Fields inherited from class com.pixelmed.dicom.ContentItemWithValue
conceptName, referencedContentItemIdentifier, valueType
 
Fields inherited from class com.pixelmed.dicom.ContentItem
relationshipType
 
Constructor Summary
ContentItemFactory.SpatialCoordinatesContentItem(ContentItem parent, AttributeList list)
           
ContentItemFactory.SpatialCoordinatesContentItem(ContentItem parent, String relationshipType, CodedSequenceItem conceptName, String graphicType, float[] graphicData)
           
 
Method Summary
 String getConceptValue()
          Get a string representation of the value of the concept.
 float[] getGraphicData()
          Get the Graphic Data of this content item, if present and applicable.
 String getGraphicType()
          Get the Graphic Type of this content item, if present and applicable.
 String toString()
          Get a human-readable string representation of the content item.
 
Methods inherited from class com.pixelmed.dicom.ContentItemWithValue
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameAndValue, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueType
 
Methods inherited from class com.pixelmed.dicom.ContentItem
addChild, addSibling, children, contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getAllowsChildren, getAttributeList, getChildAt, getChildCount, getIndex, getNamedChild, getNamedChild, getParent, getParentAsContentItem, getReferencedContentItemIdentifier, getReferencedContentItemIdentifierArray, getReferencedSOPClassUID, getReferencedSOPInstanceUID, getRelationshipType, getSingleStringValueOrNull, getSingleStringValueOrNullOfNamedChild, getSingleStringValueOrNullOfNamedChild, isLeaf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

graphicType

protected String graphicType

graphicData

protected float[] graphicData
Constructor Detail

ContentItemFactory.SpatialCoordinatesContentItem

public ContentItemFactory.SpatialCoordinatesContentItem(ContentItem parent,
                                                        AttributeList list)
Parameters:
parent -
list -

ContentItemFactory.SpatialCoordinatesContentItem

public ContentItemFactory.SpatialCoordinatesContentItem(ContentItem parent,
                                                        String relationshipType,
                                                        CodedSequenceItem conceptName,
                                                        String graphicType,
                                                        float[] graphicData)
                                                 throws DicomException
Parameters:
parent -
relationshipType -
conceptName -
graphicType -
graphicData -
Throws:
DicomException
Method Detail

getConceptValue

public String getConceptValue()
Description copied from class: ContentItemWithValue

Get a string representation of the value of the concept.

The exact form of the returned string is specific to the type of ContentItem.

Specified by:
getConceptValue in class ContentItemWithValue
Returns:
a String representation of the name and value, or an empty string

toString

public String toString()
Description copied from class: ContentItemWithValue

Get a human-readable string representation of the content item.

Overrides:
toString in class ContentItemWithValue
Returns:
the string representation of the content item

getGraphicType

public String getGraphicType()
Description copied from class: ContentItem

Get the Graphic Type of this content item, if present and applicable.

Overrides:
getGraphicType in class ContentItem
Returns:
the Graphic Type, or null

getGraphicData

public float[] getGraphicData()
Description copied from class: ContentItem

Get the Graphic Data of this content item, if present and applicable.

Overrides:
getGraphicData in class ContentItem
Returns:
the Graphic Data, or null