public class TimingDiagram extends UmlDiagram implements Clocks
| Modifier and Type | Field and Description |
|---|---|
static double |
marginX1 |
FORCE_ELK, FORCE_SMETANA| Constructor and Description |
|---|
TimingDiagram(UmlSource source) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTime(TimeTick time,
java.lang.String code) |
PlayerAnalog |
createAnalog(java.lang.String code,
java.lang.String full,
boolean compact,
Stereotype stereotype) |
CommandExecutionResult |
createBinary(java.lang.String code,
java.lang.String full,
boolean compact,
Stereotype stereotype) |
CommandExecutionResult |
createClock(java.lang.String code,
java.lang.String full,
int period,
int pulse,
int offset,
boolean compact) |
CommandExecutionResult |
createRobustConcise(java.lang.String code,
java.lang.String full,
TimingStyle type,
boolean compact,
Stereotype stereotype,
HColor backColor) |
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) |
TimeTick |
getClockValue(java.lang.String clockName,
int nb) |
TimeTick |
getCodeValue(java.lang.String code) |
DiagramDescription |
getDescription() |
Player |
getLastPlayer() |
TimeTick |
getNow() |
Player |
getPlayer(java.lang.String code) |
protected TextBlock |
getTextMainBlock(FileFormatOption fileFormatOption) |
TimingFormat |
getTimingFormatDate() |
void |
goCompactMode() |
CommandExecutionResult |
highlight(TimeTick tickFrom,
TimeTick tickTo,
Display caption,
Colors colors) |
void |
scaleInPixels(long tick,
long pixel) |
void |
setLastPlayer(Player player) |
CommandExecutionResult |
setTimeAxisStategy(TimeAxisStategy newStrategy) |
void |
updateNow(TimeTick time) |
CommandExecutionResult |
useDateFormat(java.lang.String dateFormat) |
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, getWarningOrError, isRotation, setHideEmptyDescription, setMinwidth, setRotationaddSprite, 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, setUseSmetanacheckFinalError, executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, isOk, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVerticalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCaption, getFooter, getHeader, getLegend, getMainFrame, getTitleaddSpriteexportDiagram, exportDiagramGraphic, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, hasUrlpublic static final double marginX1
public TimingDiagram(UmlSource source)
public DiagramDescription getDescription()
getDescription in interface Diagramprotected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
exportDiagramInternal in class UmlDiagramjava.io.IOExceptionprotected TextBlock getTextMainBlock(FileFormatOption fileFormatOption)
getTextMainBlock in class TitledDiagrampublic CommandExecutionResult createRobustConcise(java.lang.String code, java.lang.String full, TimingStyle type, boolean compact, Stereotype stereotype, HColor backColor)
public CommandExecutionResult createClock(java.lang.String code, java.lang.String full, int period, int pulse, int offset, boolean compact)
public PlayerAnalog createAnalog(java.lang.String code, java.lang.String full, boolean compact, Stereotype stereotype)
public CommandExecutionResult createBinary(java.lang.String code, java.lang.String full, boolean compact, Stereotype stereotype)
public TimeMessage createTimeMessage(Player player1, TimeTick time1, Player player2, TimeTick time2, java.lang.String label)
public void addTime(TimeTick time, java.lang.String code)
public TimeTick getCodeValue(java.lang.String code)
getCodeValue in interface Clockspublic void updateNow(TimeTick time)
public Player getPlayer(java.lang.String code)
public TimeTick getClockValue(java.lang.String clockName, int nb)
getClockValue in interface Clockspublic void setLastPlayer(Player player)
public Player getLastPlayer()
public void scaleInPixels(long tick,
long pixel)
public CommandExecutionResult setTimeAxisStategy(TimeAxisStategy newStrategy)
public CommandExecutionResult highlight(TimeTick tickFrom, TimeTick tickTo, Display caption, Colors colors)
public void goCompactMode()
public CommandExecutionResult useDateFormat(java.lang.String dateFormat)
public TimingFormat getTimingFormatDate()
getTimingFormatDate in interface Clocks