|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.diagramming.QuickRouter
public class QuickRouter
Implements a very fast link routing algorithm that uses a tree to represent the free and occupied regions in the diagram.
Constructor Summary | |
---|---|
QuickRouter(Diagram diagram)
Initializes a new instance of the QuickRouter class. |
Method Summary | |
---|---|
void |
Resume(boolean routeDeferredLinks)
Implements LinkRouter.Resume(boolean) . |
void |
RouteAllLinks()
Routes all links in the diagram. |
boolean |
RouteLink(DiagramLink link)
Implements LinkRouter.RouteLink(DiagramLink) . |
void |
RouteLinks(DiagramLinkList links)
Implements LinkRouter.RouteLinks(DiagramLinkList) . |
void |
Suspend()
Implements LinkRouter.Suspend() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuickRouter(Diagram diagram)
diagram
- Method Detail |
---|
public boolean RouteLink(DiagramLink link)
LinkRouter.RouteLink(DiagramLink)
.
RouteLink
in interface LinkRouter
link
- The DiagramLink
to route.
true
if a path has been found successfully, otherwise false
.public void RouteAllLinks()
public void RouteLinks(DiagramLinkList links)
LinkRouter.RouteLinks(DiagramLinkList)
.
RouteLinks
in interface LinkRouter
links
- A list of DiagramLink
objects that should be routed.public void Suspend()
LinkRouter.Suspend()
.
Suspend
in interface LinkRouter
public void Resume(boolean routeDeferredLinks)
LinkRouter.Resume(boolean)
.
Resume
in interface LinkRouter
routeDeferredLinks
- true if the links should be routed, otherwise false.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |