|
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 edge| Method Detail |
|---|
public Node getSource()
getSource in interface Edgepublic Node getTarget()
getTarget in interface Edgepublic boolean isDirected()
isDirected in interface Edgepublic RootGraph getRootGraph()
getRootGraph in interface GraphObjectpublic int getRootGraphIndex()
getRootGraphIndex in interface GraphObjectpublic String toString()
toString in class Objectpublic String getIdentifier()
getIdentifier in interface GraphObjectpublic boolean setIdentifier(String new_id)
setIdentifier in interface GraphObjectnew_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 | |||||||||