|
Cytoscape 2.8.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.CyEdge
public class CyEdge
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()
Return the edge identifier. |
RootGraph |
getRootGraph()
Get the root graph for this edge. |
int |
getRootGraphIndex()
Get the root graph index for this edge |
Node |
getSource()
Return the source node for this edge. |
Node |
getTarget()
Return the target node for this edge. |
boolean |
isDirected()
DOCUMENT ME! |
boolean |
setIdentifier(String new_id)
Set the identifier for this edge |
String |
toString()
Return the "name" of an edge |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CyEdge(RootGraph root, int rootGraphIndex)
root
- the RootGraph to put the edge intorootGraphIndex
- the index to assign to this edgeMethod Detail |
---|
public Node getSource()
getSource
in interface Edge
public Node getTarget()
getTarget
in interface Edge
public boolean isDirected()
isDirected
in interface Edge
public RootGraph getRootGraph()
getRootGraph
in interface GraphObject
public int getRootGraphIndex()
getRootGraphIndex
in interface GraphObject
public String toString()
toString
in class Object
public String getIdentifier()
getIdentifier
in interface GraphObject
public boolean setIdentifier(String new_id)
setIdentifier
in interface GraphObject
new_id
- The new identifier
public static String createIdentifier(String source, String attribute_value, String target)
|
Cytoscape 2.8.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |