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, suggestedHeight
-
-
Constructor Summary
Constructors Constructor Description PlayerClock(ISkinParam skinParam, TimingRuler ruler, int period, int pulse, 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)voiddefineState(java.lang.String stateCode, java.lang.String label)voiddrawFrameTitle(UGraphic ug)doublegetFullHeight(StringBounder striWngBounder)TextBlockgetPart1(double fullAvailableWidth, double specialVSpace)UDrawablegetPart2()intgetPeriod()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
getFontConfiguration, getTitle, isCompact, setHeight
-
-
-
-
Constructor Detail
-
PlayerClock
public PlayerClock(ISkinParam skinParam, TimingRuler ruler, int period, int pulse, boolean compact)
-
-
Method Detail
-
getFullHeight
public double getFullHeight(StringBounder striWngBounder)
- Specified by:
getFullHeightin classPlayer
-
drawFrameTitle
public void drawFrameTitle(UGraphic ug)
-
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)
- Specified by:
createConstraintin classPlayer
-
getPeriod
public final int getPeriod()
-
getPart1
public TextBlock getPart1(double fullAvailableWidth, double specialVSpace)
-
-