edu.uci.ics.jung.samples
Class PersistentLayoutDemo
java.lang.Object
edu.uci.ics.jung.samples.PersistentLayoutDemo
public class PersistentLayoutDemo
- extends Object
Demonstrates the use of PersistentLayout
and PersistentLayoutImpl
.
- Author:
- Tom Nelson
Constructor Summary |
PersistentLayoutDemo(String fileName)
create an instance of a simple graph with controls to
demo the persistence and zoom features. |
Method Summary |
static void |
main(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 |
PersistentLayoutDemo
public PersistentLayoutDemo(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
main
public static void main(String[] args)
- a driver for this demo
- Parameters:
args
- should hold the filename for the persistence demo
Copyright © 2009. All Rights Reserved.