public class TimingDiagram extends UmlDiagram implements Clocks
Modifier and Type | Field and Description |
---|---|
static double |
marginX1 |
FORCE_ELK, FORCE_SMETANA
Constructor and Description |
---|
TimingDiagram(ThemeStyle style,
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) |
CommandExecutionResult |
createBinary(java.lang.String code,
java.lang.String full,
boolean compact) |
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) |
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) |
void |
goCompactMode() |
CommandExecutionResult |
hideTimeAxis() |
CommandExecutionResult |
highlight(TimeTick tickFrom,
TimeTick tickTo,
Display caption,
Colors colors) |
void |
scaleInPixels(long tick,
long pixel) |
void |
setLastPlayer(Player player) |
void |
updateNow(TimeTick time) |
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, getWarningOrError, isRotation, setHideEmptyDescription, setMinwidth, setRotation
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
checkFinalError, executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, isOk, makeDiagramReady, seed, setScale, setSplitPagesHorizontal, setSplitPagesVertical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitle
addSprite
exportDiagram, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, hasUrl
public static final double marginX1
public TimingDiagram(ThemeStyle style, UmlSource source)
public DiagramDescription getDescription()
getDescription
in interface Diagram
protected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
exportDiagramInternal
in class UmlDiagram
java.io.IOException
public CommandExecutionResult createRobustConcise(java.lang.String code, java.lang.String full, TimingStyle type, boolean compact)
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)
public CommandExecutionResult createBinary(java.lang.String code, java.lang.String full, boolean compact)
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 Clocks
public void updateNow(TimeTick time)
public Player getPlayer(java.lang.String code)
public TimeTick getClockValue(java.lang.String clockName, int nb)
getClockValue
in interface Clocks
public void setLastPlayer(Player player)
public Player getLastPlayer()
public void scaleInPixels(long tick, long pixel)
public CommandExecutionResult hideTimeAxis()
public CommandExecutionResult highlight(TimeTick tickFrom, TimeTick tickTo, Display caption, Colors colors)
public void goCompactMode()