edu.uci.ics.jung.visualization
Interface PersistentLayout

All Superinterfaces:
ChangeEventSupport, Layout, VertexLocationFunction
All Known Implementing Classes:
PersistentLayoutImpl

public interface PersistentLayout
extends Layout, ChangeEventSupport

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

Author:
Tom Nelson - RABA Technologies

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.visualization.Layout
advancePositions, applyFilter, forceMove, getCurrentSize, getGraph, getLocation, getStatus, getVertex, getVertex, getVisibleEdges, getVisibleVertices, getX, getY, incrementsAreDone, initialize, isIncremental, isLocked, lockVertex, resize, restart, unlockVertex
 
Methods inherited from interface edu.uci.ics.jung.visualization.VertexLocationFunction
getVertexIterator
 
Methods inherited from interface edu.uci.ics.jung.utils.ChangeEventSupport
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
 

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)