Interface SynchronizedScrollingSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
HangingProtocolDisplayModule
- All Known Implementing Classes:
HangingProtocolIOD
- Enclosing class:
- SynchronizedScrollingSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Synchronized Scrolling Sequence" (see
SynchronizedScrollingSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SynchronizedScrollingSequenceAdds a new Synchronized Scrolling Sequence (seeSynchronizedScrollingSequence) with initial capacity 1 (seeensureSynchronizedScrollingSequence(int)) if it does not already exist.default SynchronizedScrollingSequenceensureSynchronizedScrollingSequence(int initialCapacity) Adds a new Synchronized Scrolling Sequence (seeSynchronizedScrollingSequence) if it does not already exist.default SynchronizedScrollingSequencedefault SynchronizedScrollingSequencenewSynchronizedScrollingSequence(int initialCapacity) Adds a new Synchronized Scrolling Sequence.default voidRemoves the Synchronized Scrolling Sequence (seeSynchronizedScrollingSequencewrap(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 Synchronized Scrolling Sequence (seeSynchronizedScrollingSequence)- Returns:
- A wrapper object implementing the
SynchronizedScrollingSequence.Holderinterface.
-
builder
- Returns:
- a
SynchronizedScrollingSequence.Holder.Builderto create Synchronized Scrolling Sequence Items with a fluent API.
-
builder
static SynchronizedScrollingSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theSynchronizedScrollingSequence.Holder.Builder.- Returns:
- a
SynchronizedScrollingSequence.Holder.Builderto create Synchronized Scrolling Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSynchronizedScrollingSequence
- Returns:
- the Synchronized Scrolling Sequence (see
SynchronizedScrollingSequence)
-
newSynchronizedScrollingSequence
Adds a new Synchronized Scrolling Sequence. (seeSynchronizedScrollingSequence)- Parameters:
initialCapacity- the initial capacity for the new Synchronized Scrolling Sequence
-
ensureSynchronizedScrollingSequence
Adds a new Synchronized Scrolling Sequence (seeSynchronizedScrollingSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Synchronized Scrolling Sequence is created.- Returns:
- Either the already existing Synchronized Scrolling Sequence (see
SynchronizedScrollingSequence) or a new one with capacityinitialCapacity.
-
ensureSynchronizedScrollingSequence
Adds a new Synchronized Scrolling Sequence (seeSynchronizedScrollingSequence) with initial capacity 1 (seeensureSynchronizedScrollingSequence(int)) if it does not already exist.- Returns:
- Either the already existing Synchronized Scrolling Sequence (see
SynchronizedScrollingSequence) or a new one with capacity 1.
-
containsSynchronizedScrollingSequence
default boolean containsSynchronizedScrollingSequence()- Returns:
- Whether it contains the Synchronized Scrolling Sequence (see
SynchronizedScrollingSequence)
-
removeSynchronizedScrollingSequence
default void removeSynchronizedScrollingSequence()Removes the Synchronized Scrolling Sequence (seeSynchronizedScrollingSequence
-