Interface FontName.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
FontName.SimpleHolder, TextStyleSequence.Item
Enclosing class:
FontName

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

    • wrap

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

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

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

      default FontName getFontName()
      Returns:
      the Font Name (see FontName)
    • containsFontName

      default boolean containsFontName()
      Returns:
      Whether it contains the Font Name (see FontName)
    • removeFontName

      default void removeFontName()
      Removes the Font Name (see FontName