public class ShortestPathRouterAdapter extends Object implements org.netbeans.api.visual.router.Router
| Modifier and Type | Class and Description |
|---|---|
class |
ShortestPathRouterAdapter.WidgetBoundsTracker |
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.draw2d.graph.ShortestPathRouter |
router |
protected GraphSceneImpl<?,?> |
scene |
protected Map<org.netbeans.api.visual.widget.Widget,ShortestPathRouterAdapter.WidgetBoundsTracker> |
widgetMap |
| Constructor and Description |
|---|
ShortestPathRouterAdapter(GraphSceneImpl<?,?> scene,
int spacing) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeWidget(org.netbeans.api.visual.widget.Widget w) |
void |
addPath(org.eclipse.draw2d.graph.Path path,
boolean isSelfArc) |
void |
removeNodeWidget(org.netbeans.api.visual.widget.Widget w) |
void |
removePath(org.eclipse.draw2d.graph.Path path) |
List<Point> |
routeConnection(org.netbeans.api.visual.widget.ConnectionWidget conn) |
void |
sceneValidated() |
void |
setAdjacentLineSpacing(int spacing) |
void |
updateRoutes() |
protected GraphSceneImpl<?,?> scene
protected org.eclipse.draw2d.graph.ShortestPathRouter router
protected Map<org.netbeans.api.visual.widget.Widget,ShortestPathRouterAdapter.WidgetBoundsTracker> widgetMap
public ShortestPathRouterAdapter(GraphSceneImpl<?,?> scene, int spacing)
public void setAdjacentLineSpacing(int spacing)
public void addNodeWidget(org.netbeans.api.visual.widget.Widget w)
public void removeNodeWidget(org.netbeans.api.visual.widget.Widget w)
public void sceneValidated()
public void addPath(org.eclipse.draw2d.graph.Path path,
boolean isSelfArc)
public void removePath(org.eclipse.draw2d.graph.Path path)
public void updateRoutes()
Copyright © 2012. All Rights Reserved.