net.sourceforge.plantuml.sequencediagram
Class SequenceDiagram

java.lang.Object
  extended by net.sourceforge.plantuml.AbstractPSystem
      extended by net.sourceforge.plantuml.UmlDiagram
          extended by net.sourceforge.plantuml.sequencediagram.SequenceDiagram
All Implemented Interfaces:
PSystem

public class SequenceDiagram
extends UmlDiagram


Constructor Summary
SequenceDiagram()
           
 
Method Summary
 String activate(Participant p, LifeEventType lifeEventType, HtmlColor backcolor)
           
 String addMessage(AbstractMessage m)
           
 void addNote(Note n)
           
 void addReference(Reference ref)
           
 void boxStart(List<String> comment, HtmlColor color)
           
 boolean changeSkin(String className)
           
 Participant createNewParticipant(ParticipantType type, String code, List<String> display)
           
 void delay(List<String> strings)
           
 void divider(List<String> strings)
           
 void endBox()
           
 List<Event> events()
           
protected  UmlDiagramInfo exportDiagramInternal(OutputStream os, StringBuilder cmap, int index, FileFormatOption fileFormat, List<BufferedImage> flashcodes)
           
 List<File> exportDiagrams(File suggestedFile, FileFormatOption fileFormat)
           
 Message getActivatingMessage()
           
 int getAutonewpage()
           
 String getDescription()
           
 ParticipantEnglober getEnglober(Participant p)
           
 AbstractMessage getLastMessage()
           
 int getNbImages()
           
 String getNextMessageNumber()
           
 Participant getOrCreateParticipant(String code)
          Deprecated. 
 Participant getOrCreateParticipant(String code, List<String> display)
           
 Skin getSkin()
           
 UmlDiagramType getUmlDiagramType()
           
 void goAutonumber(int startingNumber, int increment, DecimalFormat decimalFormat)
           
 boolean grouping(String title, String comment, GroupingType type, HtmlColor backColorGeneral, HtmlColor backColorElement)
           
 boolean hasUrl()
           
 void ignoreNewpage()
           
 boolean isAutoactivate()
           
 boolean isBoxPending()
           
 boolean isShowFootbox()
           
 void newpage(List<String> strings)
           
 Map<String,Participant> participants()
           
 void putParticipantInLast(String code)
           
 void removeHiddenParticipants()
           
 void setAutoactivate(boolean autoactivate)
           
 void setAutonewpage(int autonewpage)
           
 void setShowFootbox(boolean footbox)
           
 
Methods inherited from class net.sourceforge.plantuml.UmlDiagram
addSprite, exportCmap, exportDiagram, getDpi, getDpiFactor, getFooter, getFooterAlignement, getHeader, getHeaderAlignement, getMinwidth, getPragma, getScale, getSkinParam, getTitle, getWarningOrError, isHideUnlinkedData, isRotation, setFooter, setFooterAlignement, setHeader, setHeaderAlignement, setHideUnlinkedData, setMinwidth, setParam, setRotation, setScale, setTitle
 
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
getMetadata, getSource, setSource
 
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.PSystem
getMetadata, getSource
 

Constructor Detail

SequenceDiagram

public SequenceDiagram()
Method Detail

getOrCreateParticipant

@Deprecated
public Participant getOrCreateParticipant(String code)
Deprecated. 


getOrCreateParticipant

public Participant getOrCreateParticipant(String code,
                                          List<String> display)

getLastMessage

public AbstractMessage getLastMessage()

createNewParticipant

public Participant createNewParticipant(ParticipantType type,
                                        String code,
                                        List<String> display)

participants

public Map<String,Participant> participants()

addMessage

public String addMessage(AbstractMessage m)

addNote

public void addNote(Note n)

newpage

public void newpage(List<String> strings)

ignoreNewpage

public void ignoreNewpage()

getAutonewpage

public final int getAutonewpage()

setAutonewpage

public void setAutonewpage(int autonewpage)

divider

public void divider(List<String> strings)

delay

public void delay(List<String> strings)

events

public List<Event> events()

exportDiagrams

public List<File> exportDiagrams(File suggestedFile,
                                 FileFormatOption fileFormat)
                          throws IOException
Specified by:
exportDiagrams in interface PSystem
Overrides:
exportDiagrams in class AbstractPSystem
Throws:
IOException

exportDiagramInternal

protected UmlDiagramInfo exportDiagramInternal(OutputStream os,
                                               StringBuilder cmap,
                                               int index,
                                               FileFormatOption fileFormat,
                                               List<BufferedImage> flashcodes)
                                        throws IOException
Specified by:
exportDiagramInternal in class UmlDiagram
Throws:
IOException

getActivatingMessage

public Message getActivatingMessage()

activate

public String activate(Participant p,
                       LifeEventType lifeEventType,
                       HtmlColor backcolor)

grouping

public boolean grouping(String title,
                        String comment,
                        GroupingType type,
                        HtmlColor backColorGeneral,
                        HtmlColor backColorElement)

getDescription

public String getDescription()

changeSkin

public boolean changeSkin(String className)

getSkin

public Skin getSkin()

goAutonumber

public final void goAutonumber(int startingNumber,
                               int increment,
                               DecimalFormat decimalFormat)

getNextMessageNumber

public String getNextMessageNumber()

isShowFootbox

public boolean isShowFootbox()

setShowFootbox

public void setShowFootbox(boolean footbox)

getUmlDiagramType

public UmlDiagramType getUmlDiagramType()
Specified by:
getUmlDiagramType in class UmlDiagram

boxStart

public void boxStart(List<String> comment,
                     HtmlColor color)

endBox

public void endBox()

isBoxPending

public boolean isBoxPending()

getNbImages

public int getNbImages()
Specified by:
getNbImages in interface PSystem
Overrides:
getNbImages in class AbstractPSystem

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()

addReference

public void addReference(Reference ref)


Copyright © 2012. All Rights Reserved.