Package org.jungrapht.samples
Class VisualizationScrollPaneDemo
- java.lang.Object
-
- org.jungrapht.samples.VisualizationScrollPaneDemo
-
public class VisualizationScrollPaneDemo extends Object
Demonstrates the use ofVisualizationScrollPane
. This class shows theVisualizationViewer
zooming and panning capabilities, using horizontal and vertical scrollbars.This demo also shows ToolTips on graph vertices and edges, and a key listener to change graph mouse modes.
- Author:
- Tom Nelson
-
-
Constructor Summary
Constructors Constructor Description VisualizationScrollPaneDemo()
create an instance of a simple graph with controls to demo the zoom features.
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
-