Interface GraphicAnnotationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
GraphicAnnotationModule
- All Known Implementing Classes:
AdvancedBlendingPresentationStateIOD,BlendingSoftcopyPresentationStateIOD,ColorSoftcopyPresentationStateIOD,GrayscaleSoftcopyPresentationStateIOD,PlanarMPRVolumetricPresentationStateIOD,PseudoColorSoftcopyPresentationStateIOD,VolumeRenderingVolumetricPresentationStateIOD,XAXRFGrayscaleSoftcopyPresentationStateIOD
- Enclosing class:
- GraphicAnnotationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Graphic Annotation Sequence" (see
GraphicAnnotationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault GraphicAnnotationSequenceensureGraphicAnnotationSequence(int initialCapacity) Adds a new Graphic Annotation Sequence if it does not already exist.default GraphicAnnotationSequencedefault GraphicAnnotationSequencenewGraphicAnnotationSequence(int initialCapacity) Adds a new Graphic Annotation Sequence.default voidRemoves the Graphic Annotation Sequence (seeGraphicAnnotationSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Graphic Annotation Sequence (seeGraphicAnnotationSequence)- Returns:
- A wrapper object implementing the
GraphicAnnotationSequence.Holderinterface.
-
getGraphicAnnotationSequence
- Returns:
- the Graphic Annotation Sequence (see
GraphicAnnotationSequence)
-
newGraphicAnnotationSequence
Adds a new Graphic Annotation Sequence. (seeGraphicAnnotationSequence)- Parameters:
initialCapacity- the initial capacity for the new Graphic Annotation Sequence
-
ensureGraphicAnnotationSequence
Adds a new Graphic Annotation Sequence if it does not already exist. (seeGraphicAnnotationSequence)- Parameters:
initialCapacity- the initial capacity if a new Graphic Annotation Sequence is created
-
containsGraphicAnnotationSequence
default boolean containsGraphicAnnotationSequence()- Returns:
- Whether it contains the Graphic Annotation Sequence (see
GraphicAnnotationSequence)
-
removeGraphicAnnotationSequence
default void removeGraphicAnnotationSequence()Removes the Graphic Annotation Sequence (seeGraphicAnnotationSequence
-