public interface CyGroupManager
The CyGroupManager maintains information about all of the groups an instance of Cytoscape.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>group-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
Method SummaryModifier and TypeMethodDescription
voidRegisters a group with the group manager.
voidRegisters a list of groups with the group manager.
voidDestroy a group.Provides the set of all the groups known to the groups manager in a particular network.
reset()Releases all currently held references and resources.
getGroupSetProvides the set of all the groups known to the groups manager in a particular 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
- the complete set of all the currently known groups in a Cytoscape network
(CyGroup group)Destroy a group.
(CyGroup group)Registers a group with the group manager. Does nothing if the group is already known to the group manager. Fires GroupAddedEvent.
group- a non-null
addGroupsRegisters a list of groups with the group manager. Does nothing if the group is already known to the group manager.
groups- a list of
resetvoid reset()Releases all currently held references and resources.