Class SequenceDiagram
java.lang.Object
net.sourceforge.plantuml.AbstractPSystem
net.sourceforge.plantuml.TitledDiagram
net.sourceforge.plantuml.UmlDiagram
net.sourceforge.plantuml.sequencediagram.SequenceDiagram
- All Implemented Interfaces:
Annotated
,Diagram
,WithSprite
-
Field Summary
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivate
(Participant p, LifeEventType lifeEventType, HColor backcolor) activate
(Participant p, LifeEventType lifeEventType, HColor backcolor, HColor linecolor) void
void
addReference
(Reference ref) final void
autonumberGo
(DottedNumber startingNumber, int increment, DecimalFormat decimalFormat) final void
void
boxStart
(Display comment, HColor color, Stereotype stereotype) createImageBuilder
(FileFormatOption fileFormatOption) createNewParticipant
(ParticipantType type, String code, Display display, int order) void
void
void
endBox()
events()
final void
exportDiagramGraphic
(UGraphic ug, FileFormatOption fileFormatOption) protected ImageData
exportDiagramInternal
(OutputStream os, int index, FileFormatOption fileFormat) final int
final AutoNumber
int
Number of images in this diagram (usually, 1)getOrCreateParticipant
(String code) Deprecated.getOrCreateParticipant
(String code, Display display) protected final TextBlock
getTextMainBlock
(FileFormatOption fileFormatOption) boolean
grouping
(String title, String comment, GroupingType type, HColor backColorGeneral, HColor backColorElement, boolean parallel) boolean
hasUrl()
Check if the Diagram have some links.void
hideOrShow
(Set<EntityPortion> portions, boolean show) void
hspace()
void
hspace
(int pixel) void
final boolean
boolean
final boolean
boolean
isOk()
boolean
linkAnchor
(String anchor1, String anchor2, String message) manageVariable
(Display labels) void
boolean
void
putParticipantInLast
(String code) void
final void
setAutoactivate
(boolean autoactivate) void
setAutonewpage
(int autonewpage) final void
setHideUnlinkedData
(boolean hideUnlinkedData) void
setShowFootbox
(boolean footbox) Methods inherited from class net.sourceforge.plantuml.UmlDiagram
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, getWarningOrError, isRotation, setHideEmptyDescription, setMinwidth, setRotation
Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVertical
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sourceforge.plantuml.Annotated
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitle
Methods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, getMetadata, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
Constructor Details
-
SequenceDiagram
-
-
Method Details
-
isHideUnlinkedData
public final boolean isHideUnlinkedData() -
setHideUnlinkedData
public final void setHideUnlinkedData(boolean hideUnlinkedData) -
getOrCreateParticipant
Deprecated. -
getOrCreateParticipant
-
getLastEventWithDeactivate
-
getLastEventWithNote
-
createNewParticipant
public Participant createNewParticipant(ParticipantType type, String code, Display display, int order) -
participants
-
participantsContainsKey
-
addMessage
-
addNote
-
newpage
-
ignoreNewpage
public void ignoreNewpage() -
getAutonewpage
public final int getAutonewpage() -
setAutonewpage
public void setAutonewpage(int autonewpage) -
divider
-
hspace
public void hspace() -
hspace
public void hspace(int pixel) -
delay
-
events
-
createImageBuilder
- Overrides:
createImageBuilder
in classTitledDiagram
- Throws:
IOException
-
exportDiagramInternal
protected ImageData exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormat) throws IOException - Specified by:
exportDiagramInternal
in classUmlDiagram
- Throws:
IOException
-
exportDiagramGraphic
- Specified by:
exportDiagramGraphic
in interfaceDiagram
- Overrides:
exportDiagramGraphic
in classTitledDiagram
-
getTextMainBlock
- Specified by:
getTextMainBlock
in classTitledDiagram
-
getActivatingMessage
-
activate
-
activate
public String activate(Participant p, LifeEventType lifeEventType, HColor backcolor, HColor linecolor) -
grouping
public boolean grouping(String title, String comment, GroupingType type, HColor backColorGeneral, HColor backColorElement, boolean parallel) -
getDescription
-
autonumberGo
public final void autonumberGo(DottedNumber startingNumber, int increment, DecimalFormat decimalFormat) -
autonumberStop
public final void autonumberStop() -
getAutoNumber
-
getNextMessageNumber
-
isShowFootbox
public boolean isShowFootbox() -
setShowFootbox
public void setShowFootbox(boolean footbox) -
boxStart
-
endBox
public void endBox() -
isBoxPending
public boolean isBoxPending() -
getNbImages
public int getNbImages()Description copied from interface:Diagram
Number of images in this diagram (usually, 1)- Specified by:
getNbImages
in interfaceDiagram
- Overrides:
getNbImages
in classAbstractPSystem
- Returns:
- usually 1
-
removeHiddenParticipants
public void removeHiddenParticipants() -
putParticipantInLast
-
getEnglober
-
setAutoactivate
public final void setAutoactivate(boolean autoactivate) -
isAutoactivate
public final boolean isAutoactivate() -
hasUrl
public boolean hasUrl()Description copied from interface:Diagram
Check if the Diagram have some links.- Specified by:
hasUrl
in interfaceDiagram
- Overrides:
hasUrl
in classAbstractPSystem
-
addReference
-
isOk
public boolean isOk()- Overrides:
isOk
in classAbstractPSystem
-
checkFinalError
- Overrides:
checkFinalError
in classAbstractPSystem
-
hideOrShow
-
manageVariable
-
linkAnchor
-
getLinkAnchors
-
getDefaultMargins
- Overrides:
getDefaultMargins
in classTitledDiagram
-