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 TimingRulerrulerprotected ISkinParamskinParamprotected intsuggestedHeight
-
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 voidaddNote(TimeTick now, Display note, Position position)abstract voidcreateConstraint(TimeTick tick1, TimeTick tick2, String message)abstract voiddefineState(String stateCode, String label)protected SymbolContextgetContext()protected abstract SymbolContextgetContextLegacy()protected FontConfigurationgetFontConfiguration()abstract doublegetFullHeight(StringBounder stringBounder)abstract TextBlockgetPart1(double fullAvailableWidth, double specialVSpace)abstract UDrawablegetPart2()protected UStrokegetStroke()protected StylegetStyle()protected abstract StyleSignatureBasicgetStyleSignature()protected TextBlockgetTitle()booleanisCompact()voidsetHeight(int height)abstract voidsetState(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)
-
-