|
||||||||||
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.ClassRelationshipEdge
public class ClassRelationshipEdge
An edge that is shaped like a line with up to three segments with an arrowhead
Constructor Summary | |
---|---|
ClassRelationshipEdge()
Constructs a straight edge. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
connect(Node s,
Node e)
Connect this edge to two nodes. |
BentStyle |
getBentStyle()
Gets the bentStyle property |
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. |
void |
setBentStyle(BentStyle newValue)
Sets the bentStyle 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 ClassRelationshipEdge()
Method Detail |
---|
public void setBentStyle(BentStyle newValue)
newValue
- the bent stylepublic BentStyle getBentStyle()
public 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 |