public class VTopologyComponent extends com.google.gwt.user.client.ui.Composite implements SVGTopologyMap, TopologyView.Presenter<VTopologyComponent.TopologyViewRenderer>
Modifier and Type | Class and Description |
---|---|
static interface |
VTopologyComponent.GraphUpdateListener |
class |
VTopologyComponent.SVGGraphDrawer |
class |
VTopologyComponent.SVGGraphDrawerNoTransition |
static interface |
VTopologyComponent.TopologyViewRenderer |
EDGE_CSS_CLASS, VERTEX_CSS_CLASS, VERTEX_SELECTED_CSS_CLASS
Constructor and Description |
---|
VTopologyComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addGraphUpdateListener(VTopologyComponent.GraphUpdateListener listener) |
static void |
eval(com.google.gwt.core.client.JavaScriptObject elem) |
com.vaadin.client.ApplicationConnection |
getClient() |
TopologyView<VTopologyComponent.TopologyViewRenderer> |
getTopologyView() |
VTopologyComponent.TopologyViewRenderer |
getViewRenderer() |
void |
injectSVGDefs(com.vaadin.client.ApplicationConnection appConnection,
List<String> svgDefFiles) |
protected void |
onAttach() |
void |
onBackgroundClick() |
void |
onBackgroundDoubleClick(SVGPoint center) |
void |
onContextMenu(Object target,
int x,
int y,
String type) |
protected void |
onDetach() |
protected void |
onLoad() |
void |
onMouseWheel(double scrollVal,
int x,
int y) |
D3 |
selectAllVertexElements()
Returns the D3 selection for all Vertex svg elements
|
void |
setActiveTool(String toolname) |
void |
setComponentServerRpc(TopologyComponentServerRpc rpc) |
void |
setVertexSelection(List<String> vertIds) |
void |
showContextMenu(String target,
int x,
int y,
String type) |
static void |
typeof(com.google.gwt.dom.client.Element elem) |
void |
updateGraph(com.vaadin.client.ApplicationConnection applicationConnection,
TopologyComponentState componentState) |
void |
updateMapPosition() |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onBrowserEvent, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
protected void onAttach()
onAttach
in class com.google.gwt.user.client.ui.Composite
protected void onLoad()
onLoad
in class com.google.gwt.user.client.ui.Widget
public TopologyView<VTopologyComponent.TopologyViewRenderer> getTopologyView()
public void injectSVGDefs(com.vaadin.client.ApplicationConnection appConnection, List<String> svgDefFiles)
public void updateGraph(com.vaadin.client.ApplicationConnection applicationConnection, TopologyComponentState componentState)
public void setActiveTool(String toolname)
public com.vaadin.client.ApplicationConnection getClient()
public void setVertexSelection(List<String> vertIds)
setVertexSelection
in interface SVGTopologyMap
public D3 selectAllVertexElements()
selectAllVertexElements
in interface SVGTopologyMap
public void updateMapPosition()
public VTopologyComponent.TopologyViewRenderer getViewRenderer()
getViewRenderer
in interface TopologyView.Presenter<VTopologyComponent.TopologyViewRenderer>
public void onBackgroundClick()
onBackgroundClick
in interface TopologyView.Presenter<VTopologyComponent.TopologyViewRenderer>
public void onContextMenu(Object target, int x, int y, String type)
onContextMenu
in interface TopologyView.Presenter<VTopologyComponent.TopologyViewRenderer>
public void addGraphUpdateListener(VTopologyComponent.GraphUpdateListener listener)
addGraphUpdateListener
in interface TopologyView.Presenter<VTopologyComponent.TopologyViewRenderer>
public void onMouseWheel(double scrollVal, int x, int y)
onMouseWheel
in interface TopologyView.Presenter<VTopologyComponent.TopologyViewRenderer>
public static final void eval(com.google.gwt.core.client.JavaScriptObject elem)
public static final void typeof(com.google.gwt.dom.client.Element elem)
public void onBackgroundDoubleClick(SVGPoint center)
onBackgroundDoubleClick
in interface TopologyView.Presenter<VTopologyComponent.TopologyViewRenderer>
public void setComponentServerRpc(TopologyComponentServerRpc rpc)
protected void onDetach()
onDetach
in class com.google.gwt.user.client.ui.Composite
Copyright © 2016. All rights reserved.