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