|
Cytoscape 2.8.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcytoscape.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 |
protected void |
parse(StringTokenizer quotes)
|
String |
toString()
Get string representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, 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 GMLTree
public GMLTree(String text,
boolean zip_entry)
text - DOCUMENT ME!zip_entry - DOCUMENT ME!| Method Detail |
|---|
protected void parse(StringTokenizer quotes)
public String toString()
toString in class Objectpublic String getColorHexString(Color c)
Color - The color to be converted
public 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
|
Cytoscape 2.8.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||