Interface BackgroundColor.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
VisualAcuityMeasurementsModule
- All Known Implementing Classes:
BackgroundColor.SimpleHolder,VisualAcuityMeasurementsIOD
- Enclosing class:
- BackgroundColor
A class implementing this interface can hold attributes which contain the DICOM tag "Background Color" (see
BackgroundColor)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault BackgroundColordefault voidRemoves the Background Color (seeBackgroundColorstatic BackgroundColor.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 Background Color (seeBackgroundColor)- Returns:
- A wrapper object implementing the
BackgroundColor.Holderinterface.
-
builder
- Returns:
- a
BackgroundColor.Holder.Builderto create Background Color Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theBackgroundColor.Holder.Builder.- Returns:
- a
BackgroundColor.Holder.Builderto create Background Color Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBackgroundColor
- Returns:
- the Background Color (see
BackgroundColor)
-
containsBackgroundColor
default boolean containsBackgroundColor()- Returns:
- Whether it contains the Background Color (see
BackgroundColor)
-
removeBackgroundColor
default void removeBackgroundColor()Removes the Background Color (seeBackgroundColor
-