Cytoscape 2.6.2 (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)
          Creates a new CyEdge object.
 
Method Summary
static String createIdentifier(String source, String attribute_value, String target)
          A static method used to create edge identifiers.
 String getIdentifier()
          DOCUMENT ME!
 RootGraph getRootGraph()
          DOCUMENT ME!
 int getRootGraphIndex()
          DOCUMENT ME!
 Node getSource()
          DOCUMENT ME!
 Node getTarget()
          DOCUMENT ME!
 boolean isDirected()
          DOCUMENT ME!
 boolean setIdentifier(String new_id)
          DOCUMENT ME!
 
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)
Creates a new CyEdge object.

Parameters:
root - DOCUMENT ME!
rootGraphIndex - DOCUMENT ME!
Method Detail

getSource

public Node getSource()
DOCUMENT ME!

Specified by:
getSource in interface Edge
Returns:
DOCUMENT ME!

getTarget

public Node getTarget()
DOCUMENT ME!

Specified by:
getTarget in interface Edge
Returns:
DOCUMENT ME!

isDirected

public boolean isDirected()
DOCUMENT ME!

Specified by:
isDirected in interface Edge
Returns:
DOCUMENT ME!

getRootGraph

public RootGraph getRootGraph()
DOCUMENT ME!

Specified by:
getRootGraph in interface GraphObject
Returns:
DOCUMENT ME!

getRootGraphIndex

public int getRootGraphIndex()
DOCUMENT ME!

Specified by:
getRootGraphIndex in interface GraphObject
Returns:
DOCUMENT ME!

getIdentifier

public String getIdentifier()
DOCUMENT ME!

Specified by:
getIdentifier in interface GraphObject
Returns:
DOCUMENT ME!

setIdentifier

public boolean setIdentifier(String new_id)
DOCUMENT ME!

Specified by:
setIdentifier in interface GraphObject
Parameters:
new_id - DOCUMENT ME!
Returns:
DOCUMENT ME!

createIdentifier

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


www.cytoscape.org