public class VEProviderGraphContainer extends Object implements GraphContainer, VertexListener, EdgeListener
Modifier and Type | Class and Description |
---|---|
class |
VEProviderGraphContainer.PseudoEdge |
class |
VEProviderGraphContainer.ScaleProperty |
class |
VEProviderGraphContainer.VEGraph |
GraphContainer.ChangeListener
Constructor and Description |
---|
VEProviderGraphContainer(GraphProvider graphProvider,
ProviderManager providerManager) |
public VEProviderGraphContainer(GraphProvider graphProvider, ProviderManager providerManager)
public int getSemanticZoomLevel()
getSemanticZoomLevel
in interface DisplayState
public void setSemanticZoomLevel(int level)
setSemanticZoomLevel
in interface DisplayState
public double getScale()
getScale
in interface DisplayState
public com.vaadin.data.Property getScaleProperty()
getScaleProperty
in interface GraphContainer
public void setScale(double scale)
setScale
in interface DisplayState
public void setLayoutAlgorithm(LayoutAlgorithm layoutAlgorithm)
setLayoutAlgorithm
in interface DisplayState
public LayoutAlgorithm getLayoutAlgorithm()
getLayoutAlgorithm
in interface DisplayState
public void redoLayout()
redoLayout
in interface DisplayState
public GraphProvider getBaseTopology()
getBaseTopology
in interface GraphContainer
public void setBaseTopology(GraphProvider graphProvider)
setBaseTopology
in interface GraphContainer
public void setStatusProvider(StatusProvider statusProvider)
setStatusProvider
in interface GraphContainer
public void addVertexProvider(VertexProvider vertexProvider)
public void removeVertexProvider(VertexProvider vertexProvider)
public void addEdgeProvider(EdgeProvider edgeProvider)
public void removeEdgeProvider(EdgeProvider edgeProvider)
public Graph getGraph()
getGraph
in interface GraphContainer
public Criteria getCriteria(String namespace)
getCriteria
in interface GraphContainer
public void setCriteria(Criteria criteria)
setCriteria
in interface GraphContainer
public void addChangeListener(GraphContainer.ChangeListener listener)
addChangeListener
in interface GraphContainer
public void removeChangeListener(GraphContainer.ChangeListener listener)
removeChangeListener
in interface GraphContainer
public Collection<VertexRef> getVertexRefForest(Collection<VertexRef> vertexRefs)
getVertexRefForest
in interface GraphContainer
public void edgeSetChanged(EdgeProvider provider)
edgeSetChanged
in interface EdgeListener
public void edgeSetChanged(EdgeProvider provider, Collection<? extends Edge> added, Collection<? extends Edge> updated, Collection<String> removedEdgeIds)
edgeSetChanged
in interface EdgeListener
public void vertexSetChanged(VertexProvider provider)
vertexSetChanged
in interface VertexListener
public void vertexSetChanged(VertexProvider provider, Collection<? extends Vertex> added, Collection<? extends Vertex> update, Collection<String> removedVertexIds)
vertexSetChanged
in interface VertexListener
public MapViewManager getMapViewManager()
getMapViewManager
in interface GraphContainer
public StatusProvider getStatusProvider()
getStatusProvider
in interface GraphContainer
Copyright © 2015. All Rights Reserved.