public class PlayerClock extends Player
ruler, skinParam, stereotype, suggestedHeight
Constructor and Description |
---|
PlayerClock(java.lang.String title,
ISkinParam skinParam,
TimingRuler ruler,
int period,
int pulse,
int offset,
boolean compact) |
Modifier and Type | Method and Description |
---|---|
void |
addNote(TimeTick now,
Display note,
Position position) |
void |
createConstraint(TimeTick tick1,
TimeTick tick2,
java.lang.String message,
ArrowConfiguration config) |
void |
defineState(java.lang.String stateCode,
java.lang.String label) |
double |
getFullHeight(StringBounder stringBounder) |
TextBlock |
getPart1(double fullAvailableWidth,
double specialVSpace) |
UDrawable |
getPart2() |
int |
getPeriod() |
protected StyleSignatureBasic |
getStyleSignature() |
IntricatedPoint |
getTimeProjection(StringBounder stringBounder,
TimeTick tick) |
void |
setState(TimeTick now,
java.lang.String comment,
Colors color,
java.lang.String... states) |
getContext, getFontConfiguration, getGeneralBackgroundColor, getStroke, getStyle, getTitle, isCompact, setHeight
public PlayerClock(java.lang.String title, ISkinParam skinParam, TimingRuler ruler, int period, int pulse, int offset, boolean compact)
public double getFullHeight(StringBounder stringBounder)
getFullHeight
in class Player
protected StyleSignatureBasic getStyleSignature()
getStyleSignature
in class Player
public IntricatedPoint getTimeProjection(StringBounder stringBounder, TimeTick tick)
public void defineState(java.lang.String stateCode, java.lang.String label)
defineState
in class Player
public void setState(TimeTick now, java.lang.String comment, Colors color, java.lang.String... states)
public void createConstraint(TimeTick tick1, TimeTick tick2, java.lang.String message, ArrowConfiguration config)
createConstraint
in class Player
public final int getPeriod()
public TextBlock getPart1(double fullAvailableWidth, double specialVSpace)