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
(String code, String full, boolean compact, Stereotype stereotype) createBinary
(String code, String full, boolean compact, Stereotype stereotype) createClock
(String code, String full, int period, int pulse, int offset, boolean compact) createRobustConcise
(String code, String full, TimingStyle type, boolean compact, Stereotype stereotype) protected ImageData
exportDiagramInternal
(OutputStream os, int index, FileFormatOption fileFormatOption) getClockValue
(String clockName, int nb) getCodeValue
(String code) getNow()
protected TextBlock
getTextMainBlock
(FileFormatOption fileFormatOption) void
void
scaleInPixels
(long tick, long pixel) void
setLastPlayer
(Player player) setTimeAxisStategy
(TimeAxisStategy newStrategy) void
useDateFormat
(String dateFormat) 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, exportDiagramGraphic, getCaption, getCurrentStyleBuilder, getDefaultMargins, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, isOk, makeDiagramReady, seed, setNamespaceSeparator, 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, exportDiagramGraphic, 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(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException - Specified by:
exportDiagramInternal
in classUmlDiagram
- Throws:
IOException
-
getTextMainBlock
- Specified by:
getTextMainBlock
in classTitledDiagram
-
createRobustConcise
public CommandExecutionResult createRobustConcise(String code, String full, TimingStyle type, boolean compact, Stereotype stereotype) -
createClock
public CommandExecutionResult createClock(String code, String full, int period, int pulse, int offset, boolean compact) -
createAnalog
-
createBinary
public CommandExecutionResult createBinary(String code, String full, boolean compact, Stereotype stereotype) -
createTimeMessage
-
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) -
setTimeAxisStategy
-
highlight
public CommandExecutionResult highlight(TimeTick tickFrom, TimeTick tickTo, Display caption, Colors colors) -
goCompactMode
public void goCompactMode() -
useDateFormat
-
getTimingFormatDate
- Specified by:
getTimingFormatDate
in interfaceClocks
-