Class TimingDiagram
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- net.sourceforge.plantuml.UmlDiagram
-
- net.sourceforge.plantuml.timingdiagram.TimingDiagram
-
- All Implemented Interfaces:
Annotated
,Diagram
,Clock
,WithSprite
public class TimingDiagram extends UmlDiagram implements Clock
-
-
Field Summary
Fields Modifier and Type Field Description static double
marginX1
-
Fields inherited from class net.sourceforge.plantuml.UmlDiagram
FORCE_JDOT
-
-
Constructor Summary
Constructors Constructor Description TimingDiagram()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTime(TimeTick time)
void
createLifeLine(java.lang.String code, java.lang.String full, TimingStyle type)
TimeMessage
createTimeMessage(Player player1, TimeTick time1, Player player2, TimeTick time2, java.lang.String label)
protected ImageData
exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption)
DiagramDescription
getDescription()
Player
getLastPlayer()
TimeTick
getNow()
Player
getPlayer(java.lang.String code)
UmlDiagramType
getUmlDiagramType()
UTranslate
getUTranslateForPlayer(Player candidat, StringBounder stringBounder)
void
scaleInPixels(long tick, long pixel)
void
setLastPlayer(Player player)
void
updateNow(TimeTick time)
-
Methods inherited from class net.sourceforge.plantuml.UmlDiagram
addSprite, exportCmap, exportDiagramError, exportDiagramNow, getAnimation, getCaption, getDpi, getDpiFactor, getFailureText2, getFlashData, getFooter, getFooterOrHeaderTeoz, getHeader, getLegend, getMainFrame, getMinwidth, getPragma, getSkinParam, getTitle, getWarningOrError, isHideUnlinkedData, isRotation, isUseJDot, loadSkin, setAnimation, setCaption, setHideUnlinkedData, setLegend, setMainFrame, setMinwidth, setParam, setRotation, setTitle, setUseJDot
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, hasUrl, isOk, makeDiagramReady, seed, setScale, 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.core.Diagram
exportDiagram, getMetadata, getNbImages, getSource, hasUrl
-
-
-
-
Field Detail
-
marginX1
public static final double marginX1
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
public DiagramDescription getDescription()
- Specified by:
getDescription
in interfaceDiagram
-
getUmlDiagramType
public UmlDiagramType getUmlDiagramType()
- Specified by:
getUmlDiagramType
in classUmlDiagram
-
exportDiagramInternal
protected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
- Specified by:
exportDiagramInternal
in classUmlDiagram
- Throws:
java.io.IOException
-
getUTranslateForPlayer
public UTranslate getUTranslateForPlayer(Player candidat, StringBounder stringBounder)
-
createLifeLine
public void createLifeLine(java.lang.String code, java.lang.String full, TimingStyle type)
-
createTimeMessage
public TimeMessage createTimeMessage(Player player1, TimeTick time1, Player player2, TimeTick time2, java.lang.String label)
-
addTime
public void addTime(TimeTick time)
-
updateNow
public void updateNow(TimeTick time)
-
getPlayer
public Player getPlayer(java.lang.String code)
-
setLastPlayer
public void setLastPlayer(Player player)
-
getLastPlayer
public Player getLastPlayer()
-
scaleInPixels
public void scaleInPixels(long tick, long pixel)
-
-