Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

    public void persist(String fileName)
                 throws IOException

  Throws:
    `IOException`

### restore

    public void restore(String fileName)
                 throws IOException,
                        ClassNotFoundException

  Throws:
    `IOException`
    `ClassNotFoundException`

### lock

    public void lock(boolean state)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD