|
||||||||||
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.layered.graph.LGraphElement
de.cau.cs.kieler.klay.layered.graph.LEdge
public class LEdge
An edge in a layered graph. Edges may only be connected to ports of a node, which represent the point where the edge touches the node.
Field Summary |
---|
Fields inherited from class de.cau.cs.kieler.klay.layered.graph.LGraphElement |
---|
id |
Constructor Summary | |
---|---|
LEdge()
|
Method Summary | |
---|---|
KVectorChain |
getBendPoints()
Returns the list of bend points, which is initially empty. |
List<LLabel> |
getLabels()
|
LPort |
getSource()
Returns the source port. |
LPort |
getTarget()
Returns the target port. |
void |
reverse()
Reverses the edge, its bendpoints and properly negates the REVERSED property. |
void |
setSource(LPort source)
Sets the source port of this edge and adds itself to the port's list of edges. |
void |
setTarget(LPort target)
Sets the target port of this edge and adds itself to the port's list of edges. |
String |
toString()
|
Methods inherited from class de.cau.cs.kieler.klay.layered.graph.LGraphElement |
---|
compareTo |
Methods inherited from class de.cau.cs.kieler.core.properties.MapPropertyHolder |
---|
checkProperties, copyProperties, getAllProperties, getProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LEdge()
Method Detail |
---|
public String toString()
toString
in class Object
public void reverse()
REVERSED
property. (an
edge that was marked as being reversed is then unmarked, and the other way around) This
does not change any properties on the connected ports.
public LPort getSource()
public void setSource(LPort source)
ConcurrentModificationException
s.
source
- the source port to setpublic LPort getTarget()
public void setTarget(LPort target)
ConcurrentModificationException
s.
target
- the target port to setpublic KVectorChain getBendPoints()
public List<LLabel> getLabels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |