Class PlayerClock
- java.lang.Object
-
- net.sourceforge.plantuml.timingdiagram.Player
-
- net.sourceforge.plantuml.timingdiagram.PlayerClock
-
- All Implemented Interfaces:
TimeProjected
public class PlayerClock extends Player
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.timingdiagram.Player
ruler, skinParam, stereotype, suggestedHeight
-
-
Constructor Summary
Constructors Constructor Description PlayerClock(java.lang.String title, ISkinParam skinParam, TimingRuler ruler, int period, int pulse, int offset, boolean compact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNote(TimeTick now, Display note, Position position)voidcreateConstraint(TimeTick tick1, TimeTick tick2, java.lang.String message, ArrowConfiguration config)voiddefineState(java.lang.String stateCode, java.lang.String label)doublegetFullHeight(StringBounder stringBounder)TextBlockgetPart1(double fullAvailableWidth, double specialVSpace)UDrawablegetPart2()intgetPeriod()protected StyleSignatureBasicgetStyleSignature()IntricatedPointgetTimeProjection(StringBounder stringBounder, TimeTick tick)voidsetState(TimeTick now, java.lang.String comment, Colors color, java.lang.String... states)-
Methods inherited from class net.sourceforge.plantuml.timingdiagram.Player
getContext, getFontConfiguration, getGeneralBackgroundColor, getStroke, getStyle, getTitle, isCompact, setHeight
-
-
-
-
Constructor Detail
-
PlayerClock
public PlayerClock(java.lang.String title, ISkinParam skinParam, TimingRuler ruler, int period, int pulse, int offset, boolean compact)
-
-
Method Detail
-
getFullHeight
public double getFullHeight(StringBounder stringBounder)
- Specified by:
getFullHeightin classPlayer
-
getStyleSignature
protected StyleSignatureBasic getStyleSignature()
- Specified by:
getStyleSignaturein classPlayer
-
getTimeProjection
public IntricatedPoint getTimeProjection(StringBounder stringBounder, TimeTick tick)
-
defineState
public void defineState(java.lang.String stateCode, java.lang.String label)- Specified by:
defineStatein classPlayer
-
setState
public void setState(TimeTick now, java.lang.String comment, Colors color, java.lang.String... states)
-
createConstraint
public void createConstraint(TimeTick tick1, TimeTick tick2, java.lang.String message, ArrowConfiguration config)
- Specified by:
createConstraintin classPlayer
-
getPeriod
public final int getPeriod()
-
getPart1
public TextBlock getPart1(double fullAvailableWidth, double specialVSpace)
-
-