Interface GrayScale.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
GrayScale.SimpleHolder
Enclosing class:
GrayScale

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

    • wrap

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

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

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

      default GrayScale getGrayScale()
      Returns:
      the Gray Scale (see GrayScale)
    • containsGrayScale

      default boolean containsGrayScale()
      Returns:
      Whether it contains the Gray Scale (see GrayScale)
    • removeGrayScale

      default void removeGrayScale()
      Removes the Gray Scale (see GrayScale