|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.graph.schematic.GraphDocument.Factory
public static class GraphDocument.Factory
GraphDocument.Factory is a factory for graph documents. We put this in an inner class of GraphDocument because this factory can only produce one kind of document.
Constructor Summary | |
---|---|
GraphDocument.Factory()
|
Method Summary | |
---|---|
Document |
createDocument(Application app)
Create an empty graph document |
Document |
createDocument(Application app,
File file)
Create a new graph that contains the given file path |
Document |
createDocument(Application app,
URL url)
Create a new graph that contains data at the given URL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphDocument.Factory()
Method Detail |
---|
public Document createDocument(Application app)
createDocument
in interface DocumentFactory
public Document createDocument(Application app, URL url)
createDocument
in interface DocumentFactory
public Document createDocument(Application app, File file)
createDocument
in interface DocumentFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |