Interface PersistentLayout<V,E>
-
- All Superinterfaces:
edu.uci.ics.jung.algorithms.layout.Layout<V,E>,org.apache.commons.collections4.Transformer<V,java.awt.geom.Point2D>
- All Known Implementing Classes:
PersistentLayoutImpl
public interface PersistentLayout<V,E> extends edu.uci.ics.jung.algorithms.layout.Layout<V,E>interface for PersistentLayout Also holds a nested class Point to serialize the Vertex locations
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPersistentLayout.Pointa serializable class to save locations
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlock(boolean state)voidpersist(java.lang.String fileName)voidrestore(java.lang.String fileName)
-
-
-
Method Detail
-
persist
void persist(java.lang.String fileName) throws java.io.IOException- Throws:
java.io.IOException
-
restore
void restore(java.lang.String fileName) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
lock
void lock(boolean state)
-
-