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(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 void
addNote(TimeTick now, Display note, Position position)
void
createConstraint(TimeTick tick1, TimeTick tick2, java.lang.String message)
void
defineState(java.lang.String stateCode, java.lang.String label)
double
getFullHeight(StringBounder stringBounder)
TextBlock
getPart1(double fullAvailableWidth, double specialVSpace)
UDrawable
getPart2()
int
getPeriod()
IntricatedPoint
getTimeProjection(StringBounder stringBounder, TimeTick tick)
void
setState(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(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:
getFullHeight
in classPlayer
-
getTimeProjection
public IntricatedPoint getTimeProjection(StringBounder stringBounder, TimeTick tick)
-
defineState
public void defineState(java.lang.String stateCode, java.lang.String label)
- Specified by:
defineState
in 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:
createConstraint
in classPlayer
-
getPeriod
public final int getPeriod()
-
getPart1
public TextBlock getPart1(double fullAvailableWidth, double specialVSpace)
-
-