|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.properties.MapPropertyHolder
de.cau.cs.kieler.klay.force.graph.FEdge
public class FEdge
A physico-virtual representation of an edge, including a list of associated bend points.
Constructor Summary | |
---|---|
FEdge()
|
Method Summary | |
---|---|
void |
distributeBendpoints()
Distribute the bend points evenly on the edge. |
List<FBendpoint> |
getBendpoints()
Returns the list of bend points associated with this edge. |
List<FLabel> |
getLabels()
Returns the list of labels associated with this edge. |
FNode |
getSource()
Returns the source node. |
KVector |
getSourcePoint()
Returns the docking point at the source node. |
FNode |
getTarget()
Returns the target node. |
KVector |
getTargetPoint()
Returns the docking point at the target node. |
void |
setSource(FNode theSource)
Sets the source vertex. |
void |
setTarget(FNode theTarget)
Sets the target vertex. |
String |
toString()
|
KVectorChain |
toVectorChain()
Returns a vector chain with all bend points and source and target point. |
Methods inherited from class de.cau.cs.kieler.core.properties.MapPropertyHolder |
---|
checkProperties, copyProperties, getAllProperties, getProperty, getProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FEdge()
Method Detail |
---|
public String toString()
toString
in class Object
public FNode getSource()
public FNode getTarget()
public List<FBendpoint> getBendpoints()
public List<FLabel> getLabels()
public KVector getSourcePoint()
public KVector getTargetPoint()
public final void setSource(FNode theSource)
theSource
- the source vertex set topublic final void setTarget(FNode theTarget)
theTarget
- the target vertexpublic KVectorChain toVectorChain()
public void distributeBendpoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |