|
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 CyGroup s this node is in. |
List<CyGroup> |
getGroupsForNode(CyNode node,
CyNetwork network)
Return the list of CyGroup s 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)
CyGroup
s this node is in.
node
- the CyNode
we want get the groups for
CyGroup
s the node is in
null if it is not in any groupsList<CyGroup> getGroupsForNode(CyNode node, CyNetwork network)
CyGroup
s 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
CyGroup
s the node is in
null if it is not in any groupsboolean 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 CyGroup
void addGroups(List<CyGroup> groups)
groups
- a list of CyGroup
void reset()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |