|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.CyNode
public class CyNode
Field Summary | |
---|---|
static String |
HAS_NESTED_NETWORK_ATTR
|
static String |
NESTED_NETWORK_ID_ATTR
|
static String |
NESTED_NETWORK_IS_VISIBLE_ATTR
|
static String |
PARENT_NODES_ATTR
|
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! |
GraphPerspective |
getNestedNetwork()
Return the currently set graph perspective (may be null) associated with this node. |
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! |
void |
setNestedNetwork(GraphPerspective graphPerspective)
Assign a graph perspective reference to this node. |
String |
toString()
Return the "name" of a node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String NESTED_NETWORK_ID_ATTR
public static final String NESTED_NETWORK_IS_VISIBLE_ATTR
public static final String HAS_NESTED_NETWORK_ATTR
public static final String PARENT_NODES_ATTR
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
public void setNestedNetwork(GraphPerspective graphPerspective)
setNestedNetwork
in interface Node
public GraphPerspective getNestedNetwork()
getNestedNetwork
in interface Node
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |