|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LinkRouter
Defines methods that should be implemented by a link-router component. The control calls them when a new link path should be set in response to changes in the diagram, such as adding or modifying nodes.
Method Summary | |
---|---|
void |
Resume(boolean routeDeferredLinks)
Called when the control ends a batch update operation that might affect many links. |
boolean |
RouteLink(DiagramLink link)
Called when a single link must be routed. |
void |
RouteLinks(DiagramLinkList links)
Called when more than one links must be routed. |
void |
Suspend()
Called when the control starts a batch update operation that might affect many links. |
Method Detail |
---|
boolean RouteLink(DiagramLink link)
link
- A DiagramLink object representing the link.
void RouteLinks(DiagramLinkList links)
links
- A DiagramLinkCollection containing the links that should be routed.void Suspend()
void Resume(boolean routeDeferredLinks)
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 |