|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CyGroupManager
The CyGroupManager maintains information about all of the groups an instance of Cytoscape.
| Method Summary | |
|---|---|
void |
addGroup(CyGroup group)
Registers a group with the group manager. |
void |
addGroups(List<CyGroup> groups)
Registers a list of groups with the group manager. |
void |
destroyGroup(CyGroup group)
Destroy a group. |
CyGroup |
getGroup(CyNode node,
CyNetwork network)
Return the group the corresponds to a particular node in a CyNetwork. |
Set<CyGroup> |
getGroupSet(CyNetwork network)
Provides the set of all the groups known to the groups manager in a particular network. |
List<CyGroup> |
getGroupsForNode(CyNode node)
Return the list of CyGroups this node is in. |
List<CyGroup> |
getGroupsForNode(CyNode node,
CyNetwork network)
Return the list of CyGroups this node is in for
a particular network. |
boolean |
isGroup(CyNode node,
CyNetwork network)
Test to see if this node represents a CyGroup in
a particular CyNetwork. |
void |
reset()
Releases all currently held references and resources. |
| Method Detail |
|---|
Set<CyGroup> getGroupSet(CyNetwork network)
network - the network to get the groups from. If
the network is null, then return only those
groups that have been designated as
"global" (no referenced network)
for this CyRootNetwork
List<CyGroup> getGroupsForNode(CyNode node)
CyGroups this node is in.
node - the CyNode we want get the groups for
CyGroups the node is in
null if it is not in any groups
List<CyGroup> getGroupsForNode(CyNode node,
CyNetwork network)
CyGroups this node is in for
a particular network.
node - the CyNode we want get the groups fornetwork - the CyNetwork we want to restrict our search to
CyGroups the node is in
null if it is not in any groups
boolean isGroup(CyNode node,
CyNetwork network)
CyGroup in
a particular CyNetwork.
node - the CyNode to testnetwork - the CyNetwork to test
CyGroup getGroup(CyNode node,
CyNetwork network)
CyNetwork.
node - the CyNode to testnetwork - the CyNetwork to test
CyGroup that corresponds to
the node, or null if this group doesn't exist in
the networkvoid destroyGroup(CyGroup group)
group - the CyGroup to remove.void addGroup(CyGroup group)
group - a non-null CyGroupvoid addGroups(List<CyGroup> groups)
groups - a list of CyGroupvoid reset()
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||