|
Cytoscape 2.5.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcytoscape.data.readers.AbstractGraphReader
cytoscape.data.readers.XGMMLReader
public class XGMMLReader
XGMML file reader.
This version is Metanode-compatible.
XGMMLWriter| Constructor Summary | |
|---|---|
XGMMLReader(InputStream is)
Constructor. |
|
XGMMLReader(String fileName)
Constructor. |
|
XGMMLReader(String fileName,
cytoscape.task.TaskMonitor monitor)
Creates a new XGMMLReader object. |
|
| Method Summary | |
|---|---|
void |
doPostProcessing(CyNetwork network)
DOCUMENT ME! |
Color |
getBackgroundColor()
DOCUMENT ME! |
Color |
getColor(String colorString)
Convert a valid string into Color object. |
int[] |
getEdgeIndicesArray()
Part of interace contract |
Point2D |
getGraphViewCenter()
Returns the graph view center. |
Double |
getGraphViewZoomLevel()
Returns the zoom level read from the the xgmml file. |
List |
getGroupList()
DOCUMENT ME! |
CyLayoutAlgorithm |
getLayoutAlgorithm()
getLayoutAlgorithm is called to get the Layout Algorithm that will be used to layout the resulting graph. |
String |
getNetworkID()
DOCUMENT ME! |
cytoscape.generated2.RdfRDF |
getNetworkMetadata()
DOCUMENT ME! |
String |
getNetworkName()
DOCUMENT ME! |
int[] |
getNodeIndicesArray()
Part of interace contract |
void |
layout(CyNetworkView myView)
layout the graph based on the graphic attributes |
void |
read()
DOCUMENT ME! |
void |
setNetworkAttributes(CyNetwork cyNetwork)
This should be called after other classes actually creates CyNetwork object. |
| Methods inherited from class cytoscape.data.readers.AbstractGraphReader |
|---|
layout |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XGMMLReader(String fileName)
fileName - File name of local XGMML file.
FileNotFoundExceptionpublic XGMMLReader(InputStream is)
is - Input stream of XGMML file,
public XGMMLReader(String fileName,
cytoscape.task.TaskMonitor monitor)
fileName - DOCUMENT ME!monitor - DOCUMENT ME!| Method Detail |
|---|
public void read()
throws IOException
read in interface GraphReaderread in class AbstractGraphReaderIOException - DOCUMENT ME!public List getGroupList()
public Double getGraphViewZoomLevel()
public Point2D getGraphViewCenter()
public CyLayoutAlgorithm getLayoutAlgorithm()
getLayoutAlgorithm in interface GraphReadergetLayoutAlgorithm in class AbstractGraphReaderpublic void layout(CyNetworkView myView)
myView - the view of the network we want to layoutpublic int[] getNodeIndicesArray()
getNodeIndicesArray in interface GraphReadergetNodeIndicesArray in class AbstractGraphReaderpublic int[] getEdgeIndicesArray()
getEdgeIndicesArray in interface GraphReadergetEdgeIndicesArray in class AbstractGraphReaderpublic String getNetworkID()
public String getNetworkName()
AbstractGraphReader
getNetworkName in interface GraphReadergetNetworkName in class AbstractGraphReaderpublic cytoscape.generated2.RdfRDF getNetworkMetadata()
public Color getColor(String colorString)
colorString -
public Color getBackgroundColor()
public void setNetworkAttributes(CyNetwork cyNetwork)
cyNetwork - CyNetwork object for the loaded network.public void doPostProcessing(CyNetwork network)
doPostProcessing in interface GraphReaderdoPostProcessing in class AbstractGraphReadernetwork - DOCUMENT ME!
|
www.cytoscape.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||