Package org.cy3sbml.layout
Class XMLInterface
java.lang.Object
org.cy3sbml.layout.XMLInterface
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<CyBoundingBox>readLayoutFromXML(File xmlFile) Reads the bounding boxes of the layout file, or returns an empty list if the file cannot be read.static voidwriteXMLFileForLayout(File xmlFile, Collection<CyBoundingBox> boxes) Writes the bounding boxes to the layout file.
-
Field Details
-
LAYOUT
- See Also:
-
BOX_LIST
- See Also:
-
BOX
- See Also:
-
BOX_CYID
- See Also:
-
BOX_ID
- See Also:
-
BOX_GLYPH
- See Also:
-
BOX_X
- See Also:
-
BOX_Y
- See Also:
-
BOX_HEIGHT
- See Also:
-
BOX_WIDTH
- See Also:
-
-
Constructor Details
-
XMLInterface
public XMLInterface()
-
-
Method Details
-
writeXMLFileForLayout
public static void writeXMLFileForLayout(File xmlFile, Collection<CyBoundingBox> boxes) throws IOException Writes the bounding boxes to the layout file.- Throws:
IOException- if the file could not be written
-
readLayoutFromXML
Reads the bounding boxes of the layout file, or returns an empty list if the file cannot be read.
-