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 class  PersistentLayout.Point
      a serializable class to save locations
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void lock​(boolean state)  
      void persist​(java.lang.String fileName)  
      void restore​(java.lang.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.collections4.Transformer

        transform
    • 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)