| 
 | JGraph X 1.4.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mxgraph.io.mxGdCodec
public class mxGdCodec
Parses a GD .txt file and imports it in the given graph.
 This class depends from the classes contained in
 com.mxgraph.io.gd.
| Constructor Summary | |
|---|---|
| mxGdCodec() | |
| Method Summary | |
|---|---|
| static void | decode(mxGdDocument document,
       mxGraph graph)Recieves a mxGDDocument document and parses it generating a new graph that is inserted in graph. | 
| static mxGdDocument | encode(mxGraph graph)Generates a GD document with the cells in the graph. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public mxGdCodec()
| Method Detail | 
|---|
public static void decode(mxGdDocument document,
                          mxGraph graph)
document - GD to be parsedgraph - Graph where the parsed graph is included.public static mxGdDocument encode(mxGraph graph)
graph - Graph with the cells.
| 
 | JGraph X 1.4.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||