Class GraphZoomScrollPaneDemo


  • public class GraphZoomScrollPaneDemo
    extends java.lang.Object
    Demonstrates the use of GraphZoomScrollPane. This class shows the VisualizationViewer 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
      GraphZoomScrollPaneDemo()
      create an instance of a simple graph with controls to demo the zoom features.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GraphZoomScrollPaneDemo

        public GraphZoomScrollPaneDemo()
        create an instance of a simple graph with controls to demo the zoom features.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)