Class PSDLifeLine
- java.lang.Object
-
- org.processmining.plugins.psd.model.PSDLifeLine
-
public class PSDLifeLine extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PSDLifeLine(java.lang.String dataElt, double height)Constructor to initialize the lifeline
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrawLifeLine(java.awt.Graphics2D g, double scale)Draws the name of a data-element in a box and draws a life line from the middle of this rectangle to the bottom of the sequence diagram panel.java.lang.StringgetElt()doublegetMiddle()Returns the x-coordinate of the middle position of the data-element boxdoublegetWidth()Returns the width of the data-element boxvoidsetBeginPosition(int beginPosition)Sets the begin position
-
-
-
Method Detail
-
getElt
public java.lang.String getElt()
-
getWidth
public double getWidth()
Returns the width of the data-element box- Returns:
- double
-
getMiddle
public double getMiddle()
Returns the x-coordinate of the middle position of the data-element box- Returns:
- double
-
setBeginPosition
public void setBeginPosition(int beginPosition)
Sets the begin position- Parameters:
beginPosition- int
-
drawLifeLine
public void drawLifeLine(java.awt.Graphics2D g, double scale)Draws the name of a data-element in a box and draws a life line from the middle of this rectangle to the bottom of the sequence diagram panel.- Parameters:
g- Graphics2Dscale- double
-
-