Interface Trim.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
BasicFilmBoxPresentationModule
All Known Implementing Classes:
BasicFilmBoxIOD, Trim.SimpleHolder
Enclosing class:
Trim

public static interface Trim.Holder extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Trim" (see Trim)
  • Method Details

    • wrap

      static Trim.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Trim (see Trim)
      Returns:
      A wrapper object implementing the Trim.Holder interface.
    • builder

      static Trim.Holder.Builder builder()
      Returns:
      a Trim.Holder.Builder to create Trim Items with a fluent API.
    • builder

      static Trim.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - The Attributes to be wrapped by the Trim.Holder.Builder.
      Returns:
      a Trim.Holder.Builder to create Trim Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
    • getTrim

      default Trim 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 (see Trim