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) voidvoidaddReference(Reference ref) final voidautonumberGo(DottedNumber startingNumber, int increment, DecimalFormat decimalFormat) final voidvoidboxStart(Display comment, HColor color, Stereotype stereotype) createImageBuilder(FileFormatOption fileFormatOption) createNewParticipant(ParticipantType type, String code, Display display, int order) voidvoidvoidendBox()events()final voidprotected ImageDataexportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormat) final intfinal AutoNumberintNumber of images in this diagram (usually, 1)getOrCreateParticipant(String code) Deprecated.getOrCreateParticipant(String code, Display display) protected final TextBlockbooleangrouping(String title, String comment, GroupingType type, HColor backColorGeneral, HColor backColorElement, boolean parallel) booleanhasUrl()Check if the Diagram have some links.voidhideOrShow(Set<EntityPortion> portions, boolean show) voidhspace()voidhspace(int pixel) voidfinal booleanbooleanfinal booleanbooleanisOk()booleanlinkAnchor(String anchor1, String anchor2, String message) manageVariable(Display labels) voidbooleanvoidputParticipantInLast(String code) voidfinal voidsetAutoactivate(boolean autoactivate) voidsetAutonewpage(int autonewpage) final voidsetHideUnlinkedData(boolean hideUnlinkedData) voidsetShowFootbox(boolean footbox) Methods inherited from class net.sourceforge.plantuml.UmlDiagram
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, getWarningOrError, isRotation, setHideEmptyDescription, setMinwidth, setRotationMethods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, getAnimation, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetanaMethods inherited from class net.sourceforge.plantuml.AbstractPSystem
executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVerticalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sourceforge.plantuml.Annotated
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitleMethods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, getMetadata, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplayMethods 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:
createImageBuilderin classTitledDiagram- Throws:
IOException
-
exportDiagramInternal
protected ImageData exportDiagramInternal(OutputStream os, int index, FileFormatOption fileFormat) throws IOException - Specified by:
exportDiagramInternalin classUmlDiagram- Throws:
IOException
-
exportDiagramGraphic
- Specified by:
exportDiagramGraphicin interfaceDiagram- Overrides:
exportDiagramGraphicin classTitledDiagram
-
getTextBlock
- Specified by:
getTextBlockin 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:DiagramNumber of images in this diagram (usually, 1)- Specified by:
getNbImagesin interfaceDiagram- Overrides:
getNbImagesin 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:DiagramCheck if the Diagram have some links.- Specified by:
hasUrlin interfaceDiagram- Overrides:
hasUrlin classAbstractPSystem
-
addReference
-
isOk
public boolean isOk()- Overrides:
isOkin classAbstractPSystem
-
checkFinalError
- Overrides:
checkFinalErrorin classAbstractPSystem
-
hideOrShow
-
manageVariable
-
linkAnchor
-
getLinkAnchors
-
getDefaultMargins
- Overrides:
getDefaultMarginsin classTitledDiagram
-