Class ParticipantBox
- java.lang.Object
-
- net.sourceforge.plantuml.sequencediagram.graphic.ParticipantBox
-
-
Constructor Summary
Constructors Constructor Description ParticipantBox(LineLocation location, Component head, Component line, Component tail, Component delayLine, double startingX, int outMargin, java.lang.String participantCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDelay(net.sourceforge.plantuml.sequencediagram.graphic.GraphicalDelayText delay)
void
drawHeadTailU(UGraphic ug, double topStartingY, boolean showHead, double positionTail)
void
drawLineU22(UGraphic ug, double startingY, double endingY, boolean showTail, double myDelta)
void
drawParticipantHead(UGraphic ug)
double
getCenterX(StringBounder stringBounder)
java.util.Collection<Segment>
getDelays(StringBounder stringBounder)
double
getHeadHeight(StringBounder stringBounder)
double
getHeadHeightOnly(StringBounder stringBounder)
double
getMaxX(StringBounder stringBounder)
double
getMinX()
java.lang.String
getParticipantCode()
double
getPreferredWidth(StringBounder stringBounder)
double
getStartingX()
double
getTailHeight(StringBounder stringBounder)
double
magicMargin(StringBounder stringBounder)
void
pushToLeft(double deltaX)
java.lang.String
toString()
-
-
-
Constructor Detail
-
ParticipantBox
public ParticipantBox(LineLocation location, Component head, Component line, Component tail, Component delayLine, double startingX, int outMargin, java.lang.String participantCode)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getMinX
public double getMinX()
-
getMaxX
public double getMaxX(StringBounder stringBounder)
-
getCenterX
public double getCenterX(StringBounder stringBounder)
- Specified by:
getCenterX
in interfacePushable
-
getHeadHeight
public double getHeadHeight(StringBounder stringBounder)
-
getHeadHeightOnly
public double getHeadHeightOnly(StringBounder stringBounder)
-
getPreferredWidth
public double getPreferredWidth(StringBounder stringBounder)
- Specified by:
getPreferredWidth
in interfacePushable
-
getTailHeight
public double getTailHeight(StringBounder stringBounder)
-
pushToLeft
public void pushToLeft(double deltaX)
- Specified by:
pushToLeft
in interfacePushable
-
drawHeadTailU
public void drawHeadTailU(UGraphic ug, double topStartingY, boolean showHead, double positionTail)
-
drawParticipantHead
public void drawParticipantHead(UGraphic ug)
-
drawLineU22
public void drawLineU22(UGraphic ug, double startingY, double endingY, boolean showTail, double myDelta)
-
magicMargin
public double magicMargin(StringBounder stringBounder)
-
getStartingX
public double getStartingX()
-
addDelay
public void addDelay(net.sourceforge.plantuml.sequencediagram.graphic.GraphicalDelayText delay)
-
getParticipantCode
public java.lang.String getParticipantCode()
-
getDelays
public java.util.Collection<Segment> getDelays(StringBounder stringBounder)
-
-