Interface PersistentLayout<V,​E>

  • All Superinterfaces:
    com.google.common.base.Function<V,​java.awt.geom.Point2D>, java.util.function.Function<V,​java.awt.geom.Point2D>, Layout<V,​E>
    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
    • 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.IOException
        java.lang.ClassNotFoundException
      • lock

        void lock​(boolean state)