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, setHeightpublic 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 Playerprotected StyleSignatureBasic getStyleSignature()
getStyleSignature in class Playerpublic IntricatedPoint getTimeProjection(StringBounder stringBounder, TimeTick tick)
public void defineState(java.lang.String stateCode,
java.lang.String label)
defineState in class Playerpublic 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 Playerpublic final int getPeriod()
public TextBlock getPart1(double fullAvailableWidth, double specialVSpace)