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 CompoundGraphicSequenceAdds a new Compound Graphic Sequence (seeCompoundGraphicSequence) with initial capacity 1 (seeensureCompoundGraphicSequence(int)) if it does not already exist.default CompoundGraphicSequenceensureCompoundGraphicSequence(int initialCapacity) Adds a new Compound Graphic Sequence (seeCompoundGraphicSequence) 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 (seeCompoundGraphicSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Compound Graphic Sequence is created.- Returns:
- Either the already existing Compound Graphic Sequence (see
CompoundGraphicSequence) or a new one with capacityinitialCapacity.
-
ensureCompoundGraphicSequence
Adds a new Compound Graphic Sequence (seeCompoundGraphicSequence) with initial capacity 1 (seeensureCompoundGraphicSequence(int)) if it does not already exist.- Returns:
- Either the already existing Compound Graphic Sequence (see
CompoundGraphicSequence) or a new one with capacity 1.
-
containsCompoundGraphicSequence
default boolean containsCompoundGraphicSequence()- Returns:
- Whether it contains the Compound Graphic Sequence (see
CompoundGraphicSequence)
-
removeCompoundGraphicSequence
default void removeCompoundGraphicSequence()Removes the Compound Graphic Sequence (seeCompoundGraphicSequence
-