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 TimingRulerrulerprotected ISkinParamskinParamprotected Stereotypestereotypeprotected intsuggestedHeight
-
Constructor Summary
Constructors Constructor Description Player(java.lang.String title, ISkinParam skinParam, TimingRuler ruler, boolean compact, Stereotype stereotype, HColor generalBackgroundColor)
-
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, java.lang.String message, ArrowConfiguration config)abstract voiddefineState(java.lang.String stateCode, java.lang.String label)protected FashiongetContext()protected FontConfigurationgetFontConfiguration()abstract doublegetFullHeight(StringBounder stringBounder)HColorgetGeneralBackgroundColor()abstract TextBlockgetPart1(double fullAvailableWidth, double specialVSpace)abstract UDrawablegetPart2()protected UStrokegetStroke()protected StylegetStyle()protected abstract StyleSignaturegetStyleSignature()protected TextBlockgetTitle()booleanisCompact()voidsetHeight(int height)abstract voidsetState(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
-
stereotype
protected final Stereotype stereotype
-
-
Constructor Detail
-
Player
public Player(java.lang.String title, ISkinParam skinParam, TimingRuler ruler, boolean compact, Stereotype stereotype, HColor generalBackgroundColor)
-
-
Method Detail
-
isCompact
public boolean isCompact()
-
getGeneralBackgroundColor
public HColor getGeneralBackgroundColor()
-
getStyleSignature
protected abstract StyleSignature getStyleSignature()
-
getStyle
protected final Style getStyle()
-
getFontConfiguration
protected final FontConfiguration getFontConfiguration()
-
getStroke
protected final UStroke getStroke()
-
getContext
protected final Fashion getContext()
-
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, ArrowConfiguration config)
-
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)
-
-