public class DummyEdge extends AbstractEdgeAdapter
Constructor and Description |
---|
DummyEdge(NodeInterface source,
NodeInterface target) |
Modifier and Type | Method and Description |
---|---|
void |
clearRoutingPoints()
removes all points that are used for the routing of this edge
and resets it to the default
|
java.util.List<java.awt.Point> |
getRoutingPoints()
shall return a list of all routing points.
|
protected ObjectInterface |
getSourceInternal()
returns the node where this Edge starts at
|
protected ObjectInterface |
getTargetInternal()
returns the node where this Edge ends
|
void |
setRoutingPoints(java.util.List<java.awt.Point> routingPoints)
sets the list of new routing points.
|
protected void |
setSourceInternal(ObjectInterface source)
sets the source of this edge.
|
protected void |
setTargetInternal(ObjectInterface target) |
java.lang.String |
toString() |
getSource, getTarget, isSwitched, setSource, setSwitched, setTarget
public DummyEdge(NodeInterface source, NodeInterface target)
public void clearRoutingPoints()
AbstractEdgeAdapter
clearRoutingPoints
in interface EdgeInterface
clearRoutingPoints
in class AbstractEdgeAdapter
public java.util.List<java.awt.Point> getRoutingPoints()
AbstractEdgeAdapter
getRoutingPoints
in interface EdgeInterface
getRoutingPoints
in class AbstractEdgeAdapter
public void setRoutingPoints(java.util.List<java.awt.Point> routingPoints)
AbstractEdgeAdapter
setRoutingPoints
in interface EdgeInterface
setRoutingPoints
in class AbstractEdgeAdapter
public java.lang.String toString()
toString
in class java.lang.Object
protected ObjectInterface getSourceInternal()
AbstractEdgeAdapter
getSourceInternal
in class AbstractEdgeAdapter
protected ObjectInterface getTargetInternal()
AbstractEdgeAdapter
getTargetInternal
in class AbstractEdgeAdapter
protected void setSourceInternal(ObjectInterface source)
AbstractEdgeAdapter
setSourceInternal
in class AbstractEdgeAdapter
protected void setTargetInternal(ObjectInterface target)
setTargetInternal
in class AbstractEdgeAdapter