public class VTopologyComponent.SVGGraphDrawer extends Object implements VTopologyComponent.TopologyViewRenderer
Constructor and Description |
---|
SVGGraphDrawer(D3Behavior dragBehavior,
ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
draw(GWTGraph graph,
TopologyView<VTopologyComponent.TopologyViewRenderer> topologyView,
GWTBoundingBox oldBBox) |
protected D3Behavior |
enterTransition() |
protected D3Behavior |
exitTransition() |
D3Events.Handler<GWTVertex> |
getClickHandler() |
D3Events.Handler<GWTVertex> |
getContextMenuHandler() |
D3Events.Handler<GWTVertex> |
getDblClickHandler() |
D3Behavior |
getDragBehavior() |
D3Events.Handler<GWTEdge> |
getEdgeClickHandler() |
D3Events.Handler<GWTEdge> |
getEdgeContextHandler() |
GWTGraph |
getGraph() |
void |
setClickHandler(D3Events.Handler<GWTVertex> clickHandler) |
void |
setContextMenuHandler(D3Events.Handler<GWTVertex> contextMenuHandler) |
void |
setEdgeClickHandler(D3Events.Handler<GWTEdge> edgeClickHandler) |
void |
setEdgeContextHandler(D3Events.Handler<GWTEdge> edgeClickHandler) |
protected D3Behavior |
updateTransition() |
public SVGGraphDrawer(D3Behavior dragBehavior, ServiceRegistry serviceRegistry)
public D3Events.Handler<GWTVertex> getClickHandler()
public D3Events.Handler<GWTVertex> getDblClickHandler()
public D3Events.Handler<GWTEdge> getEdgeClickHandler()
public void setEdgeClickHandler(D3Events.Handler<GWTEdge> edgeClickHandler)
public void setClickHandler(D3Events.Handler<GWTVertex> clickHandler)
public D3Events.Handler<GWTVertex> getContextMenuHandler()
public void setContextMenuHandler(D3Events.Handler<GWTVertex> contextMenuHandler)
public GWTGraph getGraph()
public D3Behavior getDragBehavior()
public void draw(GWTGraph graph, TopologyView<VTopologyComponent.TopologyViewRenderer> topologyView, GWTBoundingBox oldBBox)
draw
in interface VTopologyComponent.TopologyViewRenderer
protected D3Behavior enterTransition()
protected D3Behavior exitTransition()
protected D3Behavior updateTransition()
public D3Events.Handler<GWTEdge> getEdgeContextHandler()
public void setEdgeContextHandler(D3Events.Handler<GWTEdge> edgeClickHandler)
Copyright © 2017. All rights reserved.