|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.horstmann.violet.framework.ShapeEdge
com.horstmann.violet.framework.SegmentedLineEdge
com.horstmann.violet.CallEdge
public class CallEdge
An edge that joins two call nodes.
Constructor Summary | |
---|---|
CallEdge()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
connect(Node s,
Node e)
Connect this edge to two nodes. |
Node |
getEnd()
Gets the ending node. |
java.util.ArrayList |
getPoints()
Gets the corner points of this segmented line edge |
Node |
getStart()
Gets the starting node. |
boolean |
isSignal()
Gets the signal property. |
void |
setSignal(boolean newValue)
Sets the signal property. |
Methods inherited from class com.horstmann.violet.framework.SegmentedLineEdge |
---|
draw, getBounds, getConnectionPoints, getEndArrowHead, getEndLabel, getLineStyle, getMiddleLabel, getShape, getStartArrowHead, getStartLabel, setEndArrowHead, setEndLabel, setLineStyle, setMiddleLabel, setStartArrowHead, setStartLabel |
Methods inherited from class com.horstmann.violet.framework.ShapeEdge |
---|
contains |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallEdge()
Method Detail |
---|
public boolean isSignal()
public void setSignal(boolean newValue)
newValue
- true if this is a signal edgepublic java.util.ArrayList getPoints()
SegmentedLineEdge
getPoints
in class SegmentedLineEdge
public java.lang.Object clone()
clone
in interface Edge
clone
in class java.lang.Object
public void connect(Node s, Node e)
Edge
connect
in interface Edge
s
- the starting nodee
- the ending nodepublic Node getStart()
Edge
getStart
in interface Edge
public Node getEnd()
Edge
getEnd
in interface Edge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |