public class SequenceDiagram extends UmlDiagram
FORCE_ELK, FORCE_SMETANA
Constructor and Description |
---|
SequenceDiagram(UmlSource source,
java.util.Map<java.lang.String,java.lang.String> skinParam) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
activate(Participant p,
LifeEventType lifeEventType,
HColor backcolor) |
java.lang.String |
activate(Participant p,
LifeEventType lifeEventType,
HColor backcolor,
HColor linecolor) |
CommandExecutionResult |
addMessage(AbstractMessage m) |
void |
addNote(Note n,
boolean tryMerge) |
void |
addReference(Reference ref) |
void |
autonumberGo(DottedNumber startingNumber,
int increment,
java.text.DecimalFormat decimalFormat) |
void |
autonumberStop() |
void |
boxStart(Display comment,
HColor color,
Stereotype stereotype) |
java.lang.String |
checkFinalError() |
ImageBuilder |
createImageBuilder(FileFormatOption fileFormatOption) |
Participant |
createNewParticipant(ParticipantType type,
java.lang.String code,
Display display,
int order) |
void |
delay(Display strings) |
void |
divider(Display strings) |
void |
endBox() |
java.util.List<Event> |
events() |
void |
exportDiagramGraphic(UGraphic ug,
FileFormatOption fileFormatOption) |
protected ImageData |
exportDiagramInternal(java.io.OutputStream os,
int index,
FileFormatOption fileFormat) |
AbstractMessage |
getActivatingMessage() |
int |
getAutonewpage() |
AutoNumber |
getAutoNumber() |
ClockwiseTopRightBottomLeft |
getDefaultMargins() |
DiagramDescription |
getDescription() |
ParticipantEnglober |
getEnglober(Participant p) |
EventWithDeactivate |
getLastEventWithDeactivate() |
EventWithNote |
getLastEventWithNote() |
java.util.List<LinkAnchor> |
getLinkAnchors() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
java.lang.String |
getNextMessageNumber() |
Participant |
getOrCreateParticipant(java.lang.String code)
Deprecated.
|
Participant |
getOrCreateParticipant(java.lang.String code,
Display display) |
protected TextBlock |
getTextMainBlock(FileFormatOption fileFormatOption) |
boolean |
grouping(java.lang.String title,
java.lang.String comment,
GroupingType type,
HColor backColorGeneral,
HColor backColorElement,
boolean parallel) |
boolean |
hasUrl()
Check if the Diagram have some links.
|
void |
hideOrShow(java.util.Set<EntityPortion> portions,
boolean show) |
void |
hspace() |
void |
hspace(int pixel) |
void |
ignoreNewpage() |
boolean |
isAutoactivate() |
boolean |
isBoxPending() |
boolean |
isHideUnlinkedData() |
boolean |
isOk() |
boolean |
isShowFootbox() |
CommandExecutionResult |
linkAnchor(java.lang.String anchor1,
java.lang.String anchor2,
java.lang.String message) |
Display |
manageVariable(Display labels) |
void |
newpage(Display strings) |
java.util.Collection<Participant> |
participants() |
boolean |
participantsContainsKey(java.lang.String code) |
void |
putParticipantInLast(java.lang.String code) |
void |
removeHiddenParticipants() |
void |
setAutoactivate(boolean autoactivate) |
void |
setAutonewpage(int autonewpage) |
void |
setHideUnlinkedData(boolean hideUnlinkedData) |
void |
setShowFootbox(boolean footbox) |
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, getWarningOrError, isRotation, setHideEmptyDescription, setMinwidth, setRotation
addSprite, calculateBackColor, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVertical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitle
addSprite
exportDiagram, getMetadata, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay
public SequenceDiagram(UmlSource source, java.util.Map<java.lang.String,java.lang.String> skinParam)
public final boolean isHideUnlinkedData()
public final void setHideUnlinkedData(boolean hideUnlinkedData)
@Deprecated public Participant getOrCreateParticipant(java.lang.String code)
public Participant getOrCreateParticipant(java.lang.String code, Display display)
public EventWithDeactivate getLastEventWithDeactivate()
public EventWithNote getLastEventWithNote()
public Participant createNewParticipant(ParticipantType type, java.lang.String code, Display display, int order)
public java.util.Collection<Participant> participants()
public boolean participantsContainsKey(java.lang.String code)
public CommandExecutionResult addMessage(AbstractMessage m)
public void addNote(Note n, boolean tryMerge)
public void newpage(Display strings)
public void ignoreNewpage()
public final int getAutonewpage()
public void setAutonewpage(int autonewpage)
public void divider(Display strings)
public void hspace()
public void hspace(int pixel)
public void delay(Display strings)
public java.util.List<Event> events()
public ImageBuilder createImageBuilder(FileFormatOption fileFormatOption) throws java.io.IOException
createImageBuilder
in class TitledDiagram
java.io.IOException
protected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormat) throws java.io.IOException
exportDiagramInternal
in class UmlDiagram
java.io.IOException
public final void exportDiagramGraphic(UGraphic ug, FileFormatOption fileFormatOption)
exportDiagramGraphic
in interface Diagram
exportDiagramGraphic
in class TitledDiagram
protected final TextBlock getTextMainBlock(FileFormatOption fileFormatOption)
getTextMainBlock
in class TitledDiagram
public AbstractMessage getActivatingMessage()
public java.lang.String activate(Participant p, LifeEventType lifeEventType, HColor backcolor)
public java.lang.String activate(Participant p, LifeEventType lifeEventType, HColor backcolor, HColor linecolor)
public boolean grouping(java.lang.String title, java.lang.String comment, GroupingType type, HColor backColorGeneral, HColor backColorElement, boolean parallel)
public DiagramDescription getDescription()
public final void autonumberGo(DottedNumber startingNumber, int increment, java.text.DecimalFormat decimalFormat)
public final void autonumberStop()
public final AutoNumber getAutoNumber()
public java.lang.String getNextMessageNumber()
public boolean isShowFootbox()
public void setShowFootbox(boolean footbox)
public void boxStart(Display comment, HColor color, Stereotype stereotype)
public void endBox()
public boolean isBoxPending()
public int getNbImages()
Diagram
getNbImages
in interface Diagram
getNbImages
in class AbstractPSystem
public void removeHiddenParticipants()
public void putParticipantInLast(java.lang.String code)
public ParticipantEnglober getEnglober(Participant p)
public final void setAutoactivate(boolean autoactivate)
public final boolean isAutoactivate()
public boolean hasUrl()
Diagram
hasUrl
in interface Diagram
hasUrl
in class AbstractPSystem
public void addReference(Reference ref)
public boolean isOk()
isOk
in class AbstractPSystem
public java.lang.String checkFinalError()
checkFinalError
in class AbstractPSystem
public void hideOrShow(java.util.Set<EntityPortion> portions, boolean show)
public CommandExecutionResult linkAnchor(java.lang.String anchor1, java.lang.String anchor2, java.lang.String message)
public java.util.List<LinkAnchor> getLinkAnchors()
public ClockwiseTopRightBottomLeft getDefaultMargins()
getDefaultMargins
in class TitledDiagram