Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Deprecated Classes
edu.uci.ics.jung.graph.impl.AbstractHyperUnitBPG As of version 1.7, JUNG now includes native versions of hypergraph classes.
edu.uci.ics.jung.visualization.contrib.BirdsEyeGraphDraw As of version 1.7. See SatelliteViewDemo for an example of how to do this.
edu.uci.ics.jung.visualization.BirdsEyeVisualizationViewer Use the SatelliteVisualizationViewer instead
edu.uci.ics.jung.graph.decorators.ConstantEdgeColorFunction Replaced by ConstantEdgePaintFunction.
edu.uci.ics.jung.visualization.EdgeColorToEdgePaintFunctionConverter This utility class converts an EdgeColorFunction into an EdgePaintFunction
edu.uci.ics.jung.visualization.FadingVertexLayout If you are using this code, PLEASE CONTACT US
edu.uci.ics.jung.visualization.GraphDraw As of version 1.7, use `VisualizationViewer` directly instead.
edu.uci.ics.jung.graph.impl.HyperedgeBPG As of version 1.7, replaced by native implementations of `Hyperedge`.
edu.uci.ics.jung.graph.impl.HypergraphBPG As of version 1.7, replaced by `SetHypergraph`.
edu.uci.ics.jung.visualization.Lens use the SatelliteVisualizationViewer instead
edu.uci.ics.jung.io.PajekNetFile As of version 1.4, replaced by `PajekNetReader` and `PajekNetWriter`
edu.uci.ics.jung.visualization.graphdraw.SettableRenderer Replaced by PluggableRenderer.
edu.uci.ics.jung.utils.StringInputStream As of JUNG version 1.5.2. Use `java.io.StringReader` instead.
edu.uci.ics.jung.visualization.VertexColorToVertexPaintConverter You should create a new VertexPaintFunction if you can
samples.graph.ZoomDemo See the SatelliteViewDemo for a similar demo with more features

Deprecated Interfaces
edu.uci.ics.jung.graph.decorators.EdgeColorFunction Use EdgePaintFunction instead
edu.uci.ics.jung.graph.decorators.EdgeThicknessFunction Use `EdgeStrokeFunction` instead.
edu.uci.ics.jung.visualization.PickEventListener use ItemListener for tracking pick changes
edu.uci.ics.jung.graph.decorators.VertexColorFunction Superseded by VertexPaintFunction

Deprecated Methods
edu.uci.ics.jung.utils.GraphUtils.addDirectedVertices(Graph, int) As of version 1.2, replaced by `GraphUtils.addVertices(edu.uci.ics.jung.graph.Graph, int)`.
edu.uci.ics.jung.graph.impl.BipartiteGraph.addEdge(Edge) Use addBipartiteEdge
edu.uci.ics.jung.visualization.GraphDraw.addGraphMouseListener(GraphMouseListener) Use getVisualizationViewer.addMouseListener( new MouseListenerTranslator(gel, vv));
edu.uci.ics.jung.visualization.MultiPickedState.addListener(PickEventListener) Use addItemListener
edu.uci.ics.jung.visualization.PickedState.addListener(PickEventListener) Use addItemListener
edu.uci.ics.jung.visualization.GraphDraw.addSlider(LevelFilter, int, int, int) Use the PluggableRenderer's vertex and edge visibility predicates instead. See the release notes for version 1.6 for more information.
edu.uci.ics.jung.visualization.GraphDraw.addStaticFilter(Filter) Use the PluggableRenderer's vertex and edge visibility predicates instead. See the release notes for version 1.6 for more information.
edu.uci.ics.jung.visualization.GraphDraw.addTool(JComponent) Use the PluggableRenderer's vertex and edge visibility predicates instead. See the release notes for version 1.6 for more information.
edu.uci.ics.jung.utils.GraphUtils.addUndirectedVertices(Graph, int) As of version 1.2, replaced by `GraphUtils.addVertices(edu.uci.ics.jung.graph.Graph, int)`.
edu.uci.ics.jung.graph.impl.BipartiteGraph.addVertex(Vertex) Use addBipartiteVertex
edu.uci.ics.jung.visualization.AbstractLayout.dontMove(Vertex) As of version 1.7.5, superseded by `Layout.isLocked(Vertex)`.
edu.uci.ics.jung.statistics.Histogram.getDimension() use getNumBins
edu.uci.ics.jung.visualization.AbstractLayout.getEdge(double, double) Use PickSupport instead
edu.uci.ics.jung.visualization.AbstractLayout.getEdge(double, double, double) Use PickSupport instead
edu.uci.ics.jung.graph.ArchetypeEdge.getEquivalentEdge(ArchetypeGraph) As of version 1.4, renamed to getEqualEdge(g).
edu.uci.ics.jung.graph.impl.AbstractArchetypeEdge.getEquivalentEdge(ArchetypeGraph) As of version 1.4, renamed to getEqualEdge(ag).
edu.uci.ics.jung.graph.impl.HyperedgeBPG.getEquivalentEdge(ArchetypeGraph) As of version 1.4, renamed to getEqualEdge(g).
edu.uci.ics.jung.graph.ArchetypeVertex.getEquivalentVertex(ArchetypeGraph) As of version 1.4, renamed to getEqualVertex(g).
edu.uci.ics.jung.graph.impl.AbstractArchetypeVertex.getEquivalentVertex(ArchetypeGraph) As of version 1.4, renamed to getEqualVertex(ag).
edu.uci.ics.jung.graph.impl.HypervertexBPG.getEquivalentVertex(ArchetypeGraph) As of version 1.4, renamed to getEqualVertex(g).
edu.uci.ics.jung.visualization.GraphDraw.getGraphLayout() Use `getVisualizationViewer().getGraphLayout()` instead.
edu.uci.ics.jung.visualization.VisualizationViewer.getOffsetX() use getTranslateX
edu.uci.ics.jung.visualization.VisualizationViewer.getOffsetY() use getTranslateY()
edu.uci.ics.jung.visualization.GraphDraw.getRender() As of version 1.5.2, replaced by getRenderer.
edu.uci.ics.jung.visualization.GraphDraw.getRenderer() Use getVisualizationViewer.getRenderer() instead.
edu.uci.ics.jung.visualization.VisualizationViewer.getScaleX() access via getViewTransformer method
edu.uci.ics.jung.visualization.VisualizationViewer.getScaleY() access via getViewTransformer method
edu.uci.ics.jung.algorithms.shortestpath.UnweightedShortestPath.getShortestPath(Vertex, Vertex) use getDistance
edu.uci.ics.jung.visualization.VisualizationViewer.getTranslateX() access via getViewTransformer method
edu.uci.ics.jung.visualization.VisualizationViewer.getTranslateY() access via getViewTransformer method
edu.uci.ics.jung.visualization.AbstractLayout.getVertex(double, double) Use PickSupport instead
edu.uci.ics.jung.visualization.FadingVertexLayout.getVertex(double, double) Use PickSupport instead A pass-through.
edu.uci.ics.jung.visualization.Layout.getVertex(double, double) Use PickSupport instead
edu.uci.ics.jung.visualization.AbstractLayout.getVertex(double, double, double) Use PickSupport instead
edu.uci.ics.jung.visualization.FadingVertexLayout.getVertex(double, double, double) Use PickSupport instead A pass-through.
edu.uci.ics.jung.visualization.Layout.getVertex(double, double, double) Use PickSupport instead
edu.uci.ics.jung.visualization.Layout.getVisibleEdges() Use of this facility is discouraged and will be removed in future. For an alternative, see the `PluggableRenderer` method `setEdgeIncludePredicate`.
edu.uci.ics.jung.visualization.Layout.getVisibleVertices() Use of this facility is discouraged and will be removed in future. For an alternative, see the `PluggableRenderer` method `setVertexIncludePredicate`.
edu.uci.ics.jung.visualization.VisualizationViewer.initMouseClicker() replaced by setGraphMouse()
edu.uci.ics.jung.graph.Graph.isDirected() As of version 1.4, replaced by `edu.uci.ics.jung.graph.utils.PredicateUtils#enforcesDirected(Graph)` and `edu.uci.ics.jung.graph.utils.PredicateUtils#enforcesUndirected(Graph)`.
edu.uci.ics.jung.graph.impl.AbstractSparseGraph.isDirected() As of version 1.4, the semantics of this method have changed; it no longer returns a boolean value that is hardwired into the class definition, but checks to see whether one of the requirements of this graph is that it only accepts directed edges.
edu.uci.ics.jung.visualization.PluggableRenderer.isPicked(ArchetypeEdge) Use an independent PickedInfo instead of this version, which relies on the Renderer to supply an instance.
edu.uci.ics.jung.visualization.PluggableRenderer.isPicked(ArchetypeVertex) Use an independent PickedInfo instead of this version, which relies on the Renderer to supply an instance.
edu.uci.ics.jung.visualization.VisualizationViewer.isPicked(Edge) Use `getPickedState.isPicked(e)`.
edu.uci.ics.jung.visualization.VisualizationViewer.isPicked(Vertex) Use `getPickedState.isPicked(e)`.
edu.uci.ics.jung.io.GraphMLFile.load(InputStream) generally, InputStreams are less robust than Readers
edu.uci.ics.jung.visualization.VisualizationViewer.pick(Vertex, boolean) Use `getPickedState.pick(picked, b)`.
edu.uci.ics.jung.visualization.GraphDraw.removeAllFilters() Use the PluggableRenderer's vertex and edge visibility predicates instead. See the release notes for version 1.6 for more information.
edu.uci.ics.jung.graph.ArchetypeGraph.removeEdges(Set) As of version 1.7, replaced by `GraphUtils.removeEdges(graph, edges)`.
edu.uci.ics.jung.visualization.MultiPickedState.removeListener(PickEventListener) Use removeItemListener
edu.uci.ics.jung.visualization.PickedState.removeListener(PickEventListener) Use removeItemListener
edu.uci.ics.jung.graph.ArchetypeGraph.removeVertices(Set) As of version 1.7, replaced by `GraphUtils.removeVertices(graph, vertices)`.
edu.uci.ics.jung.visualization.GraphDraw.resetRenderer()
edu.uci.ics.jung.visualization.GraphDraw.restartLayout() Use `getVisualizationViewer().restart()` instead.
edu.uci.ics.jung.visualization.VisualizationViewer.scale(double, double) access via getViewTransformer method
edu.uci.ics.jung.visualization.VisualizationViewer.scale(double, double, Point2D) access via getViewTransformer method
edu.uci.ics.jung.visualization.GraphDraw.setEdgeColor(Color) Modify this property via the renderer instead.
edu.uci.ics.jung.visualization.GraphDraw.setEdgeColorFunction(EdgeColorFunction) Modify this property via the renderer instead.
edu.uci.ics.jung.visualization.PluggableRenderer.setEdgeColorFunction(EdgeColorFunction) Use setEdgePaintFunction instead
edu.uci.ics.jung.visualization.GraphDraw.setEdgeThickness(int) Modify this property via the renderer instead.
edu.uci.ics.jung.visualization.GraphDraw.setEdgeThicknessFunction(EdgeThicknessFunction) Modify this property via the renderer instead.
edu.uci.ics.jung.visualization.GraphDraw.setGraphLayout(Layout) Use getVisualizationViewer.setGraphLayout(l) instead.
edu.uci.ics.jung.visualization.VisualizationViewer.setOffset(double, double) use setTranslate(double, offset, double offset)
edu.uci.ics.jung.visualization.Renderer.setPickedKey(PickedInfo) Use an independent PickedInfo instance.
edu.uci.ics.jung.visualization.GraphDraw.setRenderer(Renderer) Use getVisualizationViewer().setRenderer(r) instead.
edu.uci.ics.jung.visualization.VisualizationViewer.setScale(double, double) access via getViewTransformer method
edu.uci.ics.jung.visualization.VisualizationViewer.setScale(double, double, Point2D) access via getViewTransformer method
edu.uci.ics.jung.visualization.VisualizationViewer.setTranslate(double, double) access via getViewTransformer method
edu.uci.ics.jung.visualization.GraphDraw.setVertexBGColor(Color) Modify this property via the renderer instead.
edu.uci.ics.jung.visualization.GraphDraw.setVertexColorFunction(VertexColorFunction) Modify this property via the renderer instead.
edu.uci.ics.jung.visualization.PluggableRenderer.setVertexColorFunction(VertexColorFunction) Use setVertexPaintFunction with a VertexPaintFunction if you can
edu.uci.ics.jung.visualization.GraphDraw.setVertexForegroundColor(Color) Modify this property via the renderer instead.
edu.uci.ics.jung.visualization.GraphDraw.setVertexPickedColor(Color) Modify this property via the renderer instead.
edu.uci.ics.jung.visualization.GraphDraw.stop() Use `getVisualizationViewer().stop()` instead.
edu.uci.ics.jung.utils.GraphUtils.transform(DirectedGraph) As of version 1.4, replaced by `DirectionTransformer.toUndirected(Graph)`
edu.uci.ics.jung.utils.GraphUtils.transform(Graph) As of version 1.4, replaced by `DirectionTransformer.toDirected(Graph)`
edu.uci.ics.jung.visualization.VisualizationViewer.translate(double, double) access via getViewTransformer method
edu.uci.ics.jung.utils.GraphUtils.translateAll(Set, Graph) As of version 1.4, replaced by `GraphUtils.getEqualVertices(Set, ArchetypeGraph)`
edu.uci.ics.jung.utils.GraphUtils.translateAllEdges(Set, Graph) As of version 1.4, replaced by `GraphUtils.getEqualEdges(Set, ArchetypeGraph)`

Deprecated Constructors
edu.uci.ics.jung.visualization.ZoomPanGraphMouse(VisualizationViewer) no need to pass a VisualizationViewer in constructor
edu.uci.ics.jung.visualization.ZoomPanGraphMouse(VisualizationViewer, float, float) no need to pass a VisualizationViewer

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES