Interface VerticalAlignment.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
TextStyleSequence.Item,VerticalAlignment.SimpleHolder
- Enclosing class:
- VerticalAlignment
A class implementing this interface can hold attributes which contain the DICOM tag "Vertical Alignment" (see
VerticalAlignment)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault VerticalAlignmentdefault voidRemoves the Vertical Alignment (seeVerticalAlignmentstatic VerticalAlignment.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 Vertical Alignment (seeVerticalAlignment)- Returns:
- A wrapper object implementing the
VerticalAlignment.Holderinterface.
-
builder
- Returns:
- a
VerticalAlignment.Holder.Builderto create Vertical Alignment Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theVerticalAlignment.Holder.Builder.- Returns:
- a
VerticalAlignment.Holder.Builderto create Vertical Alignment Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getVerticalAlignment
- Returns:
- the Vertical Alignment (see
VerticalAlignment)
-
containsVerticalAlignment
default boolean containsVerticalAlignment()- Returns:
- Whether it contains the Vertical Alignment (see
VerticalAlignment)
-
removeVerticalAlignment
default void removeVerticalAlignment()Removes the Vertical Alignment (seeVerticalAlignment
-