public class SaveLoad
extends java.lang.Object
Constructor and Description |
---|
SaveLoad()
Instantiates a new save load.
|
Modifier and Type | Method and Description |
---|---|
void |
createGraphFromFile(java.util.List<java.lang.String> l)
Creates the graph from file.
|
edu.uci.ics.jung.graph.Graph<Vertex,Edge> |
getLoadedGraph()
Gets the loaded graph.
|
edu.uci.ics.jung.algorithms.layout.AbstractLayout<Vertex,Edge> |
getLoadedLayout()
Gets the loaded layout.
|
boolean |
Load(javax.swing.JFrame f)
Load.
|
boolean |
Save(javax.swing.JFrame f,
edu.uci.ics.jung.graph.Graph<Vertex,Edge> g,
edu.uci.ics.jung.algorithms.layout.AbstractLayout<Vertex,Edge> l)
Save.
|
public edu.uci.ics.jung.algorithms.layout.AbstractLayout<Vertex,Edge> getLoadedLayout()
public edu.uci.ics.jung.graph.Graph<Vertex,Edge> getLoadedGraph()
public boolean Load(javax.swing.JFrame f)
f
- the fpublic void createGraphFromFile(java.util.List<java.lang.String> l)
l
- the l