Class SequenceDiagram

java.lang.Object
All Implemented Interfaces:
Annotated, Diagram, WithSprite

public class SequenceDiagram extends UmlDiagram
  • Constructor Details

  • Method Details

    • isHideUnlinkedData

      public final boolean isHideUnlinkedData()
    • setHideUnlinkedData

      public final void setHideUnlinkedData(boolean hideUnlinkedData)
    • getOrCreateParticipant

      @Deprecated public Participant getOrCreateParticipant(java.lang.String code)
      Deprecated.
    • getOrCreateParticipant

      public Participant getOrCreateParticipant(java.lang.String code, Display display)
    • getLastEventWithDeactivate

      public EventWithDeactivate getLastEventWithDeactivate()
    • createNewParticipant

      public Participant createNewParticipant(ParticipantType type, java.lang.String code, Display display, int order)
    • participants

      public java.util.Collection<Participant> participants()
    • participantsContainsKey

      public boolean participantsContainsKey(java.lang.String code)
    • addMessage

      public java.lang.String 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)
    • events

      public java.util.List<Event> events()
    • createImageBuilder

      public ImageBuilder createImageBuilder(FileFormatOption fileFormatOption) throws java.io.IOException
      Overrides:
      createImageBuilder in class TitledDiagram
      Throws:
      java.io.IOException
    • exportDiagramInternal

      protected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormat) throws java.io.IOException
      Specified by:
      exportDiagramInternal in class UmlDiagram
      Throws:
      java.io.IOException
    • getActivatingMessage

      public AbstractMessage getActivatingMessage()
    • activate

      public java.lang.String activate(Participant p, LifeEventType lifeEventType, HColor backcolor)
    • activate

      public java.lang.String activate(Participant p, LifeEventType lifeEventType, HColor backcolor, HColor linecolor)
    • grouping

      public boolean grouping(java.lang.String title, java.lang.String comment, GroupingType type, HColor backColorGeneral, HColor backColorElement, boolean parallel)
    • getDescription

      public DiagramDescription getDescription()
    • autonumberGo

      public final void autonumberGo(DottedNumber startingNumber, int increment, java.text.DecimalFormat decimalFormat)
    • autonumberStop

      public final void autonumberStop()
    • getAutoNumber

      public final AutoNumber getAutoNumber()
    • getNextMessageNumber

      public java.lang.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 interface Diagram
      Overrides:
      getNbImages in class AbstractPSystem
      Returns:
      usually 1
    • removeHiddenParticipants

      public void removeHiddenParticipants()
    • putParticipantInLast

      public void putParticipantInLast(java.lang.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 interface Diagram
      Overrides:
      hasUrl in class AbstractPSystem
    • addReference

      public void addReference(Reference ref)
    • isOk

      public boolean isOk()
      Overrides:
      isOk in class AbstractPSystem
    • checkFinalError

      public java.lang.String checkFinalError()
      Overrides:
      checkFinalError in class AbstractPSystem
    • hideOrShow

      public void hideOrShow(java.util.Set<EntityPortion> portions, boolean show)
    • manageVariable

      public Display manageVariable(Display labels)
    • linkAnchor

      public CommandExecutionResult linkAnchor(java.lang.String anchor1, java.lang.String anchor2, java.lang.String message)
    • getLinkAnchors

      public java.util.List<LinkAnchor> getLinkAnchors()
    • getDefaultMargins

      public ClockwiseTopRightBottomLeft getDefaultMargins()
      Overrides:
      getDefaultMargins in class TitledDiagram