Class Player
- java.lang.Object
-
- net.sourceforge.plantuml.timingdiagram.Player
-
- All Implemented Interfaces:
TimeProjected
- Direct Known Subclasses:
PlayerAnalog
,PlayerBinary
,PlayerClock
,PlayerRobustConcise
public abstract class Player extends java.lang.Object implements TimeProjected
-
-
Field Summary
Fields Modifier and Type Field Description protected TimingRuler
ruler
protected ISkinParam
skinParam
protected int
suggestedHeight
-
Constructor Summary
Constructors Constructor Description Player(java.lang.String title, ISkinParam skinParam, TimingRuler ruler, boolean compact)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
addNote(TimeTick now, Display note, Position position)
abstract void
createConstraint(TimeTick tick1, TimeTick tick2, java.lang.String message)
abstract void
defineState(java.lang.String stateCode, java.lang.String label)
protected FontConfiguration
getFontConfiguration()
abstract double
getFullHeight(StringBounder stringBounder)
abstract TextBlock
getPart1(double fullAvailableWidth, double specialVSpace)
abstract UDrawable
getPart2()
protected TextBlock
getTitle()
boolean
isCompact()
void
setHeight(int height)
abstract void
setState(TimeTick now, java.lang.String comment, Colors color, java.lang.String... states)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.timingdiagram.TimeProjected
getTimeProjection
-
-
-
-
Field Detail
-
skinParam
protected final ISkinParam skinParam
-
ruler
protected final TimingRuler ruler
-
suggestedHeight
protected int suggestedHeight
-
-
Constructor Detail
-
Player
public Player(java.lang.String title, ISkinParam skinParam, TimingRuler ruler, boolean compact)
-
-
Method Detail
-
isCompact
public boolean isCompact()
-
getFontConfiguration
protected final FontConfiguration getFontConfiguration()
-
getTitle
protected final TextBlock getTitle()
-
defineState
public abstract void defineState(java.lang.String stateCode, java.lang.String label)
-
setState
public abstract void setState(TimeTick now, java.lang.String comment, Colors color, java.lang.String... states)
-
createConstraint
public abstract void createConstraint(TimeTick tick1, TimeTick tick2, java.lang.String message)
-
getPart1
public abstract TextBlock getPart1(double fullAvailableWidth, double specialVSpace)
-
getPart2
public abstract UDrawable getPart2()
-
getFullHeight
public abstract double getFullHeight(StringBounder stringBounder)
-
setHeight
public final void setHeight(int height)
-
-