Interface GrayScale.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
GrayScale.SimpleHolder
- Enclosing class:
- GrayScale
public static interface GrayScale.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Gray Scale" (seeGrayScale)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGrayScale.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static GrayScale.Holder.Builderbuilder()static GrayScale.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsGrayScale()default GrayScalegetGrayScale()default voidremoveGrayScale()Removes the Gray Scale (seeGrayScalestatic GrayScale.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static GrayScale.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Gray Scale (seeGrayScale)- Returns:
- a wrapper object implementing the
GrayScale.Holderinterface.
-
builder
static GrayScale.Holder.Builder builder()
- Returns:
- a
GrayScale.Holder.Builderto 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 theGrayScale.Holder.Builder.- Returns:
- a
GrayScale.Holder.Builderto create Gray Scale Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
containsGrayScale
default boolean containsGrayScale()
- Returns:
- whether it contains the Gray Scale (see
GrayScale)
-
removeGrayScale
default void removeGrayScale()
Removes the Gray Scale (seeGrayScale
-
-