Class SatelliteViewDemo<V,E>

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer

public class SatelliteViewDemo<V,E> extends JApplet
Demonstrates the construction of a graph visualization with a main and a satellite view. The satellite view is smaller, always contains the entire graph, and contains a lens shape that shows the boundaries of the visible part of the graph in the main view. Using the mouse, you can pick, translate, layout-scale, view-scale, rotate, shear, and region-select in either view. Using the mouse in either window affects only the main view and the lens shape in the satellite view.
See Also:
  • Field Details

  • Constructor Details

    • SatelliteViewDemo

      public SatelliteViewDemo()
      create an instance of a simple graph in two views with controls to demo the features.
  • Method Details

    • showGrid

      protected void showGrid(VisualizationViewer<?,?> vv, boolean state)
    • main

      public static void main(String[] args)