|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.klodd.hierarchical.structures.ElementLoop
public class ElementLoop
Loop over a single layer element in a layered graph.
Constructor Summary | |
---|---|
ElementLoop(KEdge theedge,
LayerElement elem,
KPort thesourcePort,
KPort thetargetPort)
Creates an element loop with given source and target port. |
Method Summary | |
---|---|
void |
applyLayout(KPoint offset)
Applies the layout of this element loop to the contained edge. |
List<KPoint> |
getBendPoints()
Returns the bendPoints. |
int |
getRoutePos(PortSide side)
Gets the route position for a specific side. |
KPort |
getSourcePort()
Gets the source port of this element loop. |
KPort |
getTargetPort()
Gets the target port of this element loop. |
void |
setRoutePos(int routePos,
PortSide side)
Sets the route position for a specific side. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ElementLoop(KEdge theedge, LayerElement elem, KPort thesourcePort, KPort thetargetPort)
theedge
- the edge that is to be contained in this element loopelem
- the layer element of this loopthesourcePort
- the source portthetargetPort
- the target portMethod Detail |
---|
public String toString()
toString
in class Object
public KPort getSourcePort()
public KPort getTargetPort()
public void applyLayout(KPoint offset)
offset
- offset to be added to each bend pointpublic List<KPoint> getBendPoints()
public void setRoutePos(int routePos, PortSide side)
routePos
- the route position to setside
- the side for the route positionpublic int getRoutePos(PortSide side)
side
- the side for the route position
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |