|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectyext.graphml.graph2D.GraphicsSerializationToolkit
Collection of utilities for handling XML files.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void codeLocation(YPoint location,
XmlWriter writer)
public static void codeSize(YDimension size,
XmlWriter writer)
public static void writeLocation(XmlWriter writer,
String name,
YPoint location)
public static void writePath(XmlWriter writer,
EdgeLayout layout)
public static void writeNodeLayout(XmlWriter writer,
NodeLayout nl)
public static void writeStyle(XmlWriter writer,
String name,
LineType lt,
Color c)
public static void writeArrows(XmlWriter writer,
String tag,
Arrow sarrow,
Arrow tarrow)
public static void writeColor(XmlWriter writer,
String tag,
Color c)
writer - c - the color
public static void writeLabelContent(XmlWriter writer,
YLabel label)
writeLabelContent(org.graphdrawing.graphml.writer.XmlWriter,y.view.YLabel,org.graphdrawing.graphml.writer.GraphMLWriteContext)
instead
writeLabelContent(org.graphdrawing.graphml.writer.XmlWriter,y.view.YLabel,org.graphdrawing.graphml.writer.GraphMLWriteContext) with
null as context.
For labels written with this method not all information may be present in the resulting graphml file because of missing context information.
writer - label -
public static void writeLabelContent(XmlWriter writer,
YLabel label,
GraphMLWriteContext context)
public static void writeNodeLabel(XmlWriter writer,
NodeLabel label)
writeNodeLabel(org.graphdrawing.graphml.writer.XmlWriter,y.view.NodeLabel,org.graphdrawing.graphml.writer.GraphMLWriteContext)
instead
writeNodeLabel(org.graphdrawing.graphml.writer.XmlWriter,y.view.NodeLabel,org.graphdrawing.graphml.writer.GraphMLWriteContext) with
null as context.
For labels written with this method not all information may be present in the resulting graphml file because of missing context information.
writer - label -
public static void writeNodeLabel(XmlWriter writer,
NodeLabel label,
GraphMLWriteContext context)
public static void writeEdgeLabel(XmlWriter writer,
EdgeLabel label)
writeEdgeLabel(org.graphdrawing.graphml.writer.XmlWriter,y.view.EdgeLabel,org.graphdrawing.graphml.writer.GraphMLWriteContext)
instead
writeEdgeLabel(org.graphdrawing.graphml.writer.XmlWriter,y.view.EdgeLabel,org.graphdrawing.graphml.writer.GraphMLWriteContext) with
null as context.
For labels written with this method not all information may be present in the resulting graphml file because of missing context information.
writer - label -
public static void writeEdgeLabel(XmlWriter writer,
EdgeLabel label,
GraphMLWriteContext context)
public static void writeInsets(XmlWriter writer,
String title,
Insets insets)
public static String parseText(Node text)
public static String getID(Node n)
public static String getREF(Node n)
public static Insets parseInsets(Node root)
public static EdgeLayout parseEdgeLayout(Node root)
public static NodeLayout parseNodeLayout(Node root)
public static void parseNodeLayout(Node root,
NodeLayout nl)
public static void parsePath(Node root,
EdgeLayout el)
public static YPoint parseLocation(Node root)
public static YDimension parseSize(Node root)
public static boolean parseBool(Node root)
public static LineType parseLineType(Node n)
public static Arrow parseArrow(Node n,
String name)
public static void parseLabel(Node root,
YLabel label)
parseLabel(Node,YLabel,GraphMLParseContext) instead.
root - label -
public static void parseLabel(Node root,
YLabel label,
GraphMLParseContext context)
public static void parseNodeLabel(Node root,
NodeLabel label)
public static void parseEdgeLabel(Node root,
EdgeLabel label)
public static Color parseColor(String colorString)
writeColor(org.graphdrawing.graphml.writer.XmlWriter,String,java.awt.Color).
colorString - the color string
public static String getAttr(Node n,
String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||