Interface ImageBoxesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DisplaySetsSequence.Item
- Enclosing class:
- ImageBoxesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Image Boxes Sequence" (see
ImageBoxesSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ImageBoxesSequenceensureImageBoxesSequence(int initialCapacity) Adds a new Image Boxes Sequence if it does not already exist.default ImageBoxesSequencedefault ImageBoxesSequencenewImageBoxesSequence(int initialCapacity) Adds a new Image Boxes Sequence.default voidRemoves the Image Boxes Sequence (seeImageBoxesSequencestatic ImageBoxesSequence.Holderwrap(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 Image Boxes Sequence (seeImageBoxesSequence)- Returns:
- A wrapper object implementing the
ImageBoxesSequence.Holderinterface.
-
getImageBoxesSequence
- Returns:
- the Image Boxes Sequence (see
ImageBoxesSequence)
-
newImageBoxesSequence
Adds a new Image Boxes Sequence. (seeImageBoxesSequence)- Parameters:
initialCapacity- the initial capacity for the new Image Boxes Sequence
-
ensureImageBoxesSequence
Adds a new Image Boxes Sequence if it does not already exist. (seeImageBoxesSequence)- Parameters:
initialCapacity- the initial capacity if a new Image Boxes Sequence is created
-
containsImageBoxesSequence
default boolean containsImageBoxesSequence()- Returns:
- Whether it contains the Image Boxes Sequence (see
ImageBoxesSequence)
-
removeImageBoxesSequence
default void removeImageBoxesSequence()Removes the Image Boxes Sequence (seeImageBoxesSequence
-