Interface GridAspectRatio.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
XRayGridModule
- All Known Implementing Classes:
DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EnhancedXAImageIOD,EnhancedXRFImageIOD,GridAspectRatio.SimpleHolder,XRay3DAcquisitionSequence.Item
- Enclosing class:
- GridAspectRatio
A class implementing this interface can hold attributes which contain the DICOM tag "Grid Aspect Ratio" (see
GridAspectRatio)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault GridAspectRatiodefault voidRemoves the Grid Aspect Ratio (seeGridAspectRatiostatic GridAspectRatio.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Grid Aspect Ratio (seeGridAspectRatio)- Returns:
- A wrapper object implementing the
GridAspectRatio.Holderinterface.
-
builder
- Returns:
- a
GridAspectRatio.Holder.Builderto create Grid Aspect Ratio Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theGridAspectRatio.Holder.Builder.- Returns:
- a
GridAspectRatio.Holder.Builderto create Grid Aspect Ratio Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getGridAspectRatio
- Returns:
- the Grid Aspect Ratio (see
GridAspectRatio)
-
containsGridAspectRatio
default boolean containsGridAspectRatio()- Returns:
- Whether it contains the Grid Aspect Ratio (see
GridAspectRatio)
-
removeGridAspectRatio
default void removeGridAspectRatio()Removes the Grid Aspect Ratio (seeGridAspectRatio
-