Interface Trim.Holder

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

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

      • 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​(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