Class PersistentLayoutDemo


  • public class PersistentLayoutDemo
    extends java.lang.Object
    Demonstrates the use of PersistentLayout and PersistentLayoutImpl.
    Author:
    Tom Nelson
    • Constructor Summary

      Constructors 
      Constructor Description
      PersistentLayoutDemo​(java.lang.String fileName)
      create an instance of a simple graph with controls to demo the persistence and zoom features.
    • Method Summary

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

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

      • PersistentLayoutDemo

        public PersistentLayoutDemo​(java.lang.String fileName)
        create an instance of a simple graph with controls to demo the persistence and zoom features.
        Parameters:
        fileName - where to save/restore the graph positions
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        a driver for this demo
        Parameters:
        args - should hold the filename for the persistence demo