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) |
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 |
getTextBlock() |
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, setRotation
addSprite, calculateBackColor, createImageBuilder, exportDiagramGraphic, getAnimation, getCaption, getCurrentStyleBuilder, getDefaultMargins, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
checkFinalError, executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, hasUrl, isOk, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVertical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCaption, getFooter, getHeader, getLegend, getMainFrame, getTitle
addSprite
exportDiagram, exportDiagramGraphic, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplay, hasUrl
public static final double marginX1
public TimingDiagram(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
protected TextBlock getTextBlock()
getTextBlock
in class TitledDiagram
public CommandExecutionResult createRobustConcise(java.lang.String code, java.lang.String full, TimingStyle type, boolean compact, Stereotype stereotype)
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 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 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