edu.uci.ics.jung.visualization.layout
Interface PersistentLayout<V,E>

All Superinterfaces:
Layout<V,E>, org.apache.commons.collections15.Transformer<V,Point2D>
All Known Implementing Classes:
PersistentLayoutImpl

public interface PersistentLayout<V,E>
extends Layout<V,E>

interface for PersistentLayout Also holds a nested class Point to serialize the Vertex locations

Author:
Tom Nelson

Nested Class Summary
static class PersistentLayout.Point
          a serializable class to save locations
 
Method Summary
 void lock(boolean state)
           
 void persist(String fileName)
           
 void restore(String fileName)
           
 
Methods inherited from interface edu.uci.ics.jung.algorithms.layout.Layout
getGraph, getSize, initialize, isLocked, lock, reset, setGraph, setInitializer, setLocation, setSize
 
Methods inherited from interface org.apache.commons.collections15.Transformer
transform
 

Method Detail

persist

void persist(String fileName)
             throws IOException
Throws:
IOException

restore

void restore(String fileName)
             throws IOException,
                    ClassNotFoundException
Throws:
IOException
ClassNotFoundException

lock

void lock(boolean state)


Copyright © 2009. All Rights Reserved.