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 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(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, String message)
abstract void
defineState(String stateCode, String label)
protected SymbolContext
getContext()
protected abstract SymbolContext
getContextLegacy()
protected FontConfiguration
getFontConfiguration()
abstract double
getFullHeight(StringBounder stringBounder)
abstract TextBlock
getPart1(double fullAvailableWidth, double specialVSpace)
abstract UDrawable
getPart2()
protected UStroke
getStroke()
protected Style
getStyle()
protected abstract StyleSignatureBasic
getStyleSignature()
protected TextBlock
getTitle()
boolean
isCompact()
void
setHeight(int height)
abstract void
setState(TimeTick now, String comment, Colors color, 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(String title, ISkinParam skinParam, TimingRuler ruler, boolean compact)
-
-
Method Detail
-
isCompact
public boolean isCompact()
-
getStyleSignature
protected abstract StyleSignatureBasic getStyleSignature()
-
getContextLegacy
protected abstract SymbolContext getContextLegacy()
-
getStyle
protected final Style getStyle()
-
getFontConfiguration
protected final FontConfiguration getFontConfiguration()
-
getStroke
protected final UStroke getStroke()
-
getContext
protected final SymbolContext getContext()
-
getTitle
protected final TextBlock getTitle()
-
setState
public abstract void setState(TimeTick now, String comment, Colors color, String... states)
-
createConstraint
public abstract void createConstraint(TimeTick tick1, TimeTick tick2, 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)
-
-