Interface RTImageLabel.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTImageModule
- All Known Implementing Classes:
RTImageIOD,RTImageLabel.SimpleHolder
- Enclosing class:
- RTImageLabel
A class implementing this interface can hold attributes which contain the DICOM tag "RT Image Label" (see
RTImageLabel)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RTImageLabel.Holder.Builderbuilder()static RTImageLabel.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault RTImageLabeldefault voidRemoves the RT Image Label (seeRTImageLabelstatic RTImageLabel.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 RT Image Label (seeRTImageLabel)- Returns:
- A wrapper object implementing the
RTImageLabel.Holderinterface.
-
builder
- Returns:
- a
RTImageLabel.Holder.Builderto create RT Image Label Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theRTImageLabel.Holder.Builder.- Returns:
- a
RTImageLabel.Holder.Builderto create RT Image Label Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRTImageLabel
- Returns:
- the RT Image Label (see
RTImageLabel)
-
containsRTImageLabel
default boolean containsRTImageLabel()- Returns:
- Whether it contains the RT Image Label (see
RTImageLabel)
-
removeRTImageLabel
default void removeRTImageLabel()Removes the RT Image Label (seeRTImageLabel
-