Interface CompoundGraphicSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
GraphicAnnotationSequence.Item
- Enclosing class:
- CompoundGraphicSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Compound Graphic Sequence" (see
CompoundGraphicSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault CompoundGraphicSequenceensureCompoundGraphicSequence(int initialCapacity) Adds a new Compound Graphic Sequence if it does not already exist.default CompoundGraphicSequencedefault CompoundGraphicSequencenewCompoundGraphicSequence(int initialCapacity) Adds a new Compound Graphic Sequence.default voidRemoves the Compound Graphic Sequence (seeCompoundGraphicSequencewrap(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 Compound Graphic Sequence (seeCompoundGraphicSequence)- Returns:
- A wrapper object implementing the
CompoundGraphicSequence.Holderinterface.
-
getCompoundGraphicSequence
- Returns:
- the Compound Graphic Sequence (see
CompoundGraphicSequence)
-
newCompoundGraphicSequence
Adds a new Compound Graphic Sequence. (seeCompoundGraphicSequence)- Parameters:
initialCapacity- the initial capacity for the new Compound Graphic Sequence
-
ensureCompoundGraphicSequence
Adds a new Compound Graphic Sequence if it does not already exist. (seeCompoundGraphicSequence)- Parameters:
initialCapacity- the initial capacity if a new Compound Graphic Sequence is created
-
containsCompoundGraphicSequence
default boolean containsCompoundGraphicSequence()- Returns:
- Whether it contains the Compound Graphic Sequence (see
CompoundGraphicSequence)
-
removeCompoundGraphicSequence
default void removeCompoundGraphicSequence()Removes the Compound Graphic Sequence (seeCompoundGraphicSequence
-