|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.CyNode
public class CyNode
Constructor Summary | |
---|---|
CyNode(RootGraph root,
int rootGraphIndex)
Creates a new CyNode object. |
Method Summary | |
---|---|
void |
addToGroup(CyGroup group)
Add this node to the specified group. |
GraphPerspective |
getGraphPerspective()
DOCUMENT ME! |
List<CyGroup> |
getGroups()
Return the list of groups this node is a member of |
String |
getIdentifier()
DOCUMENT ME! |
RootGraph |
getRootGraph()
DOCUMENT ME! |
int |
getRootGraphIndex()
DOCUMENT ME! |
boolean |
inGroup(CyGroup group)
Check to see if this node is a member of the requested group |
boolean |
isaGroup()
Check to see if this node is a group |
void |
removeFromGroup(CyGroup group)
Remove this node from the specified group. |
boolean |
setGraphPerspective(GraphPerspective gp)
DOCUMENT ME! |
boolean |
setIdentifier(String new_id)
DOCUMENT ME! |
String |
toString()
Return the "name" of a node |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CyNode(RootGraph root, int rootGraphIndex)
root
- DOCUMENT ME!rootGraphIndex
- DOCUMENT ME!Method Detail |
---|
public GraphPerspective getGraphPerspective()
getGraphPerspective
in interface Node
RootGraph.getNodeMetaChildIndicesArray(int)
,
RootGraph.getEdgeMetaChildIndicesArray(int)
public boolean setGraphPerspective(GraphPerspective gp)
setGraphPerspective
in interface Node
gp
- DOCUMENT ME!
RootGraph.addNodeMetaChild(int, int)
,
RootGraph.addEdgeMetaChild(int, int)
public RootGraph getRootGraph()
getRootGraph
in interface GraphObject
public int getRootGraphIndex()
getRootGraphIndex
in interface GraphObject
public String getIdentifier()
getIdentifier
in interface GraphObject
public boolean setIdentifier(String new_id)
setIdentifier
in interface GraphObject
new_id
- DOCUMENT ME!
public void addToGroup(CyGroup group)
group
- CyGroup to add this group topublic void removeFromGroup(CyGroup group)
group
- CyGroup to remove this group frompublic List<CyGroup> getGroups()
public boolean inGroup(CyGroup group)
group
- the group to check
public boolean isaGroup()
public String toString()
toString
in class Object
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |