|
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.GMLReader
public class GMLReader
This class is responsible for converting a gml object tree into cytoscape objects New features to the current version: 1. Small bug fixes. 2. Translate all features in the GML file. This includes 3. New Visual Style will be generated when you call this class. The new style saves all visual features (like node shape) and will not be lost even after other style selected.
| Constructor Summary | |
|---|---|
GMLReader(String filename)
Constructor. |
|
GMLReader(String filename,
cytoscape.task.TaskMonitor taskMonitor)
Constructor. |
|
| Method Summary | |
|---|---|
void |
applyMaps(String mapSuffix,
String VSName)
DOCUMENT ME! |
void |
doPostProcessing(CyNetwork net)
DOCUMENT ME! |
void |
extract()
DOCUMENT ME! |
Color |
getColor(String colorString)
Create a color object from the string like it is stored in a gml file |
int[] |
getEdgeIndicesArray()
Part of interace contract |
CyLayoutAlgorithm |
getLayoutAlgorithm()
getLayoutAlgorithm is called to get the Layout Algorithm that will be used to layout the resulting graph. |
static LineType |
getLineType(int width)
Deprecated. Don't use this. Set the line width directly. Gone 5/2008. |
List |
getList()
Returns a list containing the gml object tree |
int[] |
getNodeIndicesArray()
Part of interface contract |
void |
layout(CyNetworkView myView)
layout the graph based on the GML values we read |
void |
read()
DOCUMENT ME! |
void |
setEdgeMaps(VisualMappingManager vizmapper)
DOCUMENT ME! |
void |
setNodeMaps(VisualMappingManager vizmapper)
DOCUMENT ME! |
void |
showMaps()
DOCUMENT ME! |
| Methods inherited from class cytoscape.data.readers.AbstractGraphReader |
|---|
getNetworkName, layout |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GMLReader(String filename)
filename - File name.
public GMLReader(String filename,
cytoscape.task.TaskMonitor taskMonitor)
filename - File name.taskMonitor - TaskMonitor Object.| Method Detail |
|---|
public void setNodeMaps(VisualMappingManager vizmapper)
vizmapper - DOCUMENT ME!public void setEdgeMaps(VisualMappingManager vizmapper)
vizmapper - DOCUMENT ME!
public void applyMaps(String mapSuffix,
String VSName)
mapSuffix - DOCUMENT ME!VSName - DOCUMENT ME!public void read()
read in interface GraphReaderread in class AbstractGraphReaderpublic List getList()
public CyLayoutAlgorithm getLayoutAlgorithm()
getLayoutAlgorithm in interface GraphReadergetLayoutAlgorithm in class AbstractGraphReaderpublic void layout(CyNetworkView myView)
myView - the view of the network we want to layoutpublic void extract()
@Deprecated public static LineType getLineType(int width)
public void showMaps()
public int[] getNodeIndicesArray()
getNodeIndicesArray in interface GraphReadergetNodeIndicesArray in class AbstractGraphReaderpublic int[] getEdgeIndicesArray()
getEdgeIndicesArray in interface GraphReadergetEdgeIndicesArray in class AbstractGraphReaderpublic Color getColor(String colorString)
public void doPostProcessing(CyNetwork net)
doPostProcessing in interface GraphReaderdoPostProcessing in class AbstractGraphReadernet - DOCUMENT ME!
|
www.cytoscape.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||