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
public class SequenceDiagram extends UmlDiagram
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
-
Constructor Summary
Constructors Constructor Description SequenceDiagram(UmlSource source, Map<String,String> skinParam)
-
Method Summary
-
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, getAnimation, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
executeCommand, exportDiagram, getMetadata, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, makeDiagramReady, seed, 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
-
-
-
-
Method Detail
-
isHideUnlinkedData
public final boolean isHideUnlinkedData()
-
setHideUnlinkedData
public final void setHideUnlinkedData(boolean hideUnlinkedData)
-
getOrCreateParticipant
@Deprecated public Participant getOrCreateParticipant(String code)
Deprecated.
-
getOrCreateParticipant
public Participant getOrCreateParticipant(String code, Display display)
-
getLastEventWithDeactivate
public EventWithDeactivate getLastEventWithDeactivate()
-
createNewParticipant
public Participant createNewParticipant(ParticipantType type, String code, Display display, int order)
-
participants
public Collection<Participant> participants()
-
participantsContainsKey
public boolean participantsContainsKey(String code)
-
addMessage
public CommandExecutionResult addMessage(AbstractMessage m)
-
addNote
public void addNote(Note n, boolean tryMerge)
-
newpage
public void newpage(Display strings)
-
ignoreNewpage
public void ignoreNewpage()
-
getAutonewpage
public final int getAutonewpage()
-
setAutonewpage
public void setAutonewpage(int autonewpage)
-
divider
public void divider(Display strings)
-
hspace
public void hspace()
-
hspace
public void hspace(int pixel)
-
delay
public void delay(Display strings)
-
createImageBuilder
public ImageBuilder createImageBuilder(FileFormatOption fileFormatOption) throws IOException
- 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
public final void exportDiagramGraphic(UGraphic ug)
- Specified by:
exportDiagramGraphic
in interfaceDiagram
- Overrides:
exportDiagramGraphic
in classTitledDiagram
-
getTextBlock
protected final TextBlock getTextBlock()
- Specified by:
getTextBlock
in classTitledDiagram
-
getActivatingMessage
public AbstractMessage getActivatingMessage()
-
activate
public String activate(Participant p, LifeEventType lifeEventType, HColor backcolor)
-
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
public DiagramDescription getDescription()
-
autonumberGo
public final void autonumberGo(DottedNumber startingNumber, int increment, DecimalFormat decimalFormat)
-
autonumberStop
public final void autonumberStop()
-
getAutoNumber
public final AutoNumber getAutoNumber()
-
getNextMessageNumber
public String getNextMessageNumber()
-
isShowFootbox
public boolean isShowFootbox()
-
setShowFootbox
public void setShowFootbox(boolean footbox)
-
boxStart
public void boxStart(Display comment, HColor color, Stereotype stereotype)
-
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
public void putParticipantInLast(String code)
-
getEnglober
public ParticipantEnglober getEnglober(Participant p)
-
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
public void addReference(Reference ref)
-
isOk
public boolean isOk()
- Overrides:
isOk
in classAbstractPSystem
-
checkFinalError
public String checkFinalError()
- Overrides:
checkFinalError
in classAbstractPSystem
-
hideOrShow
public void hideOrShow(Set<EntityPortion> portions, boolean show)
-
linkAnchor
public CommandExecutionResult linkAnchor(String anchor1, String anchor2, String message)
-
getLinkAnchors
public List<LinkAnchor> getLinkAnchors()
-
getDefaultMargins
public ClockwiseTopRightBottomLeft getDefaultMargins()
- Overrides:
getDefaultMargins
in classTitledDiagram
-
-