Class TimingDiagram
java.lang.Object
net.sourceforge.plantuml.AbstractPSystem
net.sourceforge.plantuml.TitledDiagram
net.sourceforge.plantuml.UmlDiagram
net.sourceforge.plantuml.timingdiagram.TimingDiagram
- All Implemented Interfaces:
Annotated
,Diagram
,Clocks
,WithSprite
-
Field Summary
FieldsFields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createAnalog
(java.lang.String code, java.lang.String full, boolean compact) createBinary
(java.lang.String code, java.lang.String full, boolean compact) createClock
(java.lang.String code, java.lang.String full, int period, int pulse, int offset, boolean compact) createRobustConcise
(java.lang.String code, java.lang.String full, TimingStyle type, boolean compact) createTimeMessage
(Player player1, TimeTick time1, Player player2, TimeTick time2, java.lang.String label) protected ImageData
exportDiagramInternal
(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) getClockValue
(java.lang.String clockName, int nb) getCodeValue
(java.lang.String code) getNow()
getPlayer
(java.lang.String code) void
void
scaleInPixels
(long tick, long pixel) void
setLastPlayer
(Player player) void
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, createImageBuilder, getAnimation, getCaption, getCurrentStyleBuilder, getDefaultMargins, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, isOk, 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, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, hasUrl
Methods inherited from interface net.sourceforge.plantuml.WithSprite
addSprite
-
Field Details
-
marginX1
public static final double marginX1- See Also:
-
-
Constructor Details
-
TimingDiagram
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfaceDiagram
-
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
-
createRobustConcise
public CommandExecutionResult createRobustConcise(java.lang.String code, java.lang.String full, TimingStyle type, boolean compact) -
createClock
public CommandExecutionResult createClock(java.lang.String code, java.lang.String full, int period, int pulse, int offset, boolean compact) -
createAnalog
-
createBinary
public CommandExecutionResult createBinary(java.lang.String code, java.lang.String full, boolean compact) -
createTimeMessage
public TimeMessage createTimeMessage(Player player1, TimeTick time1, Player player2, TimeTick time2, java.lang.String label) -
addTime
-
getCodeValue
- Specified by:
getCodeValue
in interfaceClocks
-
updateNow
-
getPlayer
-
getNow
-
getClockValue
- Specified by:
getClockValue
in interfaceClocks
-
setLastPlayer
-
getLastPlayer
-
scaleInPixels
public void scaleInPixels(long tick, long pixel) -
hideTimeAxis
-
highlight
public CommandExecutionResult highlight(TimeTick tickFrom, TimeTick tickTo, Display caption, Colors colors) -
goCompactMode
public void goCompactMode()
-