|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkieker.webgui.service.impl.utility.model.Edge
public class Edge
Objects of this class represent directed edges between Port
s or Node
s without Port
s.
Constructor Summary | |
---|---|
Edge(Node source,
Node target,
Port sourcePort,
Port targetPort)
Constructor for an Edge . |
Method Summary | |
---|---|
void |
addBendPoint(float x,
float y)
Adds a bend point to the edge. |
List<Point> |
getBendPoints()
|
de.cau.cs.kieler.core.kgraph.KEdge |
getKielerEdge()
|
Node |
getSource()
|
Port |
getSourcePort()
|
Node |
getTarget()
|
Port |
getTargetPort()
|
boolean |
hasSourcePort()
Checks to see if the source Node of the edge has Port s. |
boolean |
hasTargetPort()
Checks to see if the target Node of the edge has Port s. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Edge(Node source, Node target, Port sourcePort, Port targetPort)
Edge
.
source
- the source Node
of the edgetarget
- the target Node
of the edgesourcePort
- the Port
of the source to which the edge is connected
or null if the source has no portstargetPort
- the Port
of the target to which the edge is connected
or null if the source has no portsMethod Detail |
---|
public void addBendPoint(float x, float y)
x
- the absolute x-coordinate of the bend pointy
- the absolute y-coordinate of the bend pointpublic boolean hasSourcePort()
Node
of the edge has Port
s.
Node
has Port
spublic boolean hasTargetPort()
Node
of the edge has Port
s.
Node
has Port
spublic de.cau.cs.kieler.core.kgraph.KEdge getKielerEdge()
public Node getSource()
public Node getTarget()
public Port getSourcePort()
public Port getTargetPort()
public List<Point> getBendPoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |