Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape
Class CyEdge

java.lang.Object
  extended by cytoscape.CyEdge
All Implemented Interfaces:
Edge, GraphObject

public class CyEdge
extends Object
implements Edge


Constructor Summary
CyEdge(RootGraph root, int rootGraphIndex)
           
 
Method Summary
static String createIdentifier(String source, String attribute_value, String target)
          A static method used to create edge identifiers.
 String getIdentifier()
           
 RootGraph getRootGraph()
           
 int getRootGraphIndex()
           
 Node getSource()
           
 Node getTarget()
           
 boolean isDirected()
           
 boolean setIdentifier(String new_id)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyEdge

public CyEdge(RootGraph root,
              int rootGraphIndex)
Method Detail

getSource

public Node getSource()
Specified by:
getSource in interface Edge

getTarget

public Node getTarget()
Specified by:
getTarget in interface Edge

isDirected

public boolean isDirected()
Specified by:
isDirected in interface Edge

getRootGraph

public RootGraph getRootGraph()
Specified by:
getRootGraph in interface GraphObject

getRootGraphIndex

public int getRootGraphIndex()
Specified by:
getRootGraphIndex in interface GraphObject

getIdentifier

public String getIdentifier()
Specified by:
getIdentifier in interface GraphObject

setIdentifier

public boolean setIdentifier(String new_id)
Specified by:
setIdentifier in interface GraphObject

createIdentifier

public static String createIdentifier(String source,
                                      String attribute_value,
                                      String target)
A static method used to create edge identifiers.


www.cytoscape.org