Interface Trim.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
BasicFilmBoxPresentationModule
- All Known Implementing Classes:
BasicFilmBoxIOD,Trim.SimpleHolder
- Enclosing class:
- Trim
A class implementing this interface can hold attributes which contain the DICOM tag "Trim" (see
Trim)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Trim.Holder.Builderbuilder()static Trim.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault TrimgetTrim()default voidRemoves the Trim (seeTrimstatic Trim.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 Trim (seeTrim)- Returns:
- A wrapper object implementing the
Trim.Holderinterface.
-
builder
- Returns:
- a
Trim.Holder.Builderto create Trim Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTrim.Holder.Builder.- Returns:
- a
Trim.Holder.Builderto create Trim Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTrim
- Returns:
- the Trim (see
Trim)
-
containsTrim
default boolean containsTrim()- Returns:
- Whether it contains the Trim (see
Trim)
-
removeTrim
default void removeTrim()Removes the Trim (seeTrim
-