|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.readers.GMLTree
public class GMLTree
This class wraps around GMLNode and provides various methods for constructing a tree structure given other data.
Field Summary | |
---|---|
static int |
DOUBLE
When getting a vector, used to specify the type for the contained objects |
static int |
GMLTREE
When getting a vector, used to specify the type for the contained objects |
static int |
INTEGER
When getting a vector, used to specify the type for the contained objects |
static int |
STRING
When getting a vector, used to specify the type for the contained objects |
Constructor Summary | |
---|---|
GMLTree()
Create an empty GMLTree |
|
GMLTree(CyNetworkView networkView)
Create a GMLTree from the information contained in this GraphView. |
|
GMLTree(GMLNode init)
Creates a new GMLTree object. |
|
GMLTree(String filename)
Create a GMLTree from data contained in a file |
|
GMLTree(String text,
boolean zip_entry)
Creates a new GMLTree object. |
Method Summary | |
---|---|
String |
getColorHexString(Color c)
Get the String representation of the 6 character hexidecimal RGB values i.e. |
Vector |
getVector(String[] keys,
int type)
Return a vector of information stored in gmlNodes |
String |
toString()
Get string representation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int STRING
public static int DOUBLE
public static int INTEGER
public static int GMLTREE
Constructor Detail |
---|
public GMLTree()
public GMLTree(GMLNode init)
init
- DOCUMENT ME!public GMLTree(CyNetworkView networkView)
myView
- the GraphView used to create the GMLTreepublic GMLTree(String filename)
filename
- The name of the file used to create this GMLTreepublic GMLTree(String text, boolean zip_entry)
text
- DOCUMENT ME!zip_entry
- DOCUMENT ME!Method Detail |
---|
public String toString()
toString
in class Object
public String getColorHexString(Color c)
Color
- The color to be convertedpublic Vector getVector(String[] keys, int type)
keys
- a string array containing the sequence of keys used to lookup
the values in the treetype
- The type fo vector to return. See public static values for
specifiying type
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |