|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.analysis.performance.sequence.Arrow
public class Arrow
Represents the transfer of work between two data-element instances.
Constructor Summary | |
---|---|
Arrow(java.lang.String source,
java.lang.String destination)
constructor to initialize arrow |
Method Summary | |
---|---|
void |
drawArrow(java.util.HashMap lifeLines,
java.awt.Color thisColor,
java.awt.Graphics2D g)
Draws the arrow |
java.lang.String |
getDestination()
Returns the name of the data element instance in which the arrow ends. |
DataElementBlock |
getDestinationBlock()
Returns the block in which the arrow ends. |
double |
getEndAt()
Returns the end position of the arrow |
java.lang.String |
getSource()
Returns the name of the data element instance from which the arrow originates. |
DataElementBlock |
getSourceBlock()
Returns the block from which the arrow originates. |
double |
getStartAt()
Returns the starting position of the arrow |
boolean |
isOnLine(java.awt.Point p,
java.util.HashMap lifeLines,
double scale)
Returns true if point p is on the line of the arrow (or at most 2 pixels away) |
void |
setDestinationBlock(DataElementBlock destinationBlock)
Sets the block in which the arrow ends to destinationBlock |
void |
setEndAt(double endAt)
Sets the end position of the arrow. |
void |
setSourceBlock(DataElementBlock sourceBlock)
Sets the block from which the arrow originates to sourceBlock |
void |
setStartAt(double startAt)
Sets the starting position of the arrow. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Arrow(java.lang.String source, java.lang.String destination)
source
- Stringdestination
- StringMethod Detail |
---|
public java.lang.String getSource()
public java.lang.String getDestination()
public double getStartAt()
public double getEndAt()
public void setStartAt(double startAt)
startAt
- doublepublic void setEndAt(double endAt)
endAt
- doublepublic DataElementBlock getSourceBlock()
public void setSourceBlock(DataElementBlock sourceBlock)
sourceBlock
- DataElementBlockpublic DataElementBlock getDestinationBlock()
public void setDestinationBlock(DataElementBlock destinationBlock)
destinationBlock
- DataElementBlockpublic void drawArrow(java.util.HashMap lifeLines, java.awt.Color thisColor, java.awt.Graphics2D g)
lifeLines
- HashMapthisColor
- Colorg
- Graphics2Dpublic boolean isOnLine(java.awt.Point p, java.util.HashMap lifeLines, double scale)
p
- PointlifeLines
- HashMapscale
- double
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |