| 
 | Cytoscape 2.4.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.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 | DOUBLEWhen getting a vector, used to specify the type for the contained objects | 
| static int | GMLTREEWhen getting a vector, used to specify the type for the contained objects | 
| static int | INTEGERWhen getting a vector, used to specify the type for the contained objects | 
| static int | STRINGWhen 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) | |
| GMLTree(String filename)Create a GMLTree from data contained in a file | |
| GMLTree(String text,
        boolean zip_entry) | |
| 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 | 
|  Vector | getVector(String keys,
          String delim,
          int type)Deprecated. use anonymous String arrays instead | 
|  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)
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)
| Method Detail | 
|---|
public String toString()
toString in class Objectpublic String getColorHexString(Color c)
Color - The color to be converted
public Vector getVector(String keys,
                        String delim,
                        int type)
keys - A string representing a delimited sequence of keys which are
            used to look up values in the tree.delim - A string representing the delimiter used in keystype - The type of vector to return. See public static values for
            specifying type
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
| 
 | www.cytoscape.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||