Class GroupAboutToBeDestroyedEvent

  • All Implemented Interfaces:
    CyEvent<CyGroupManager>

    public final class GroupAboutToBeDestroyedEvent
    extends AbstractCyEvent<CyGroupManager>
    This event signals that a group is about to be destroyed -- i.e. completely removed from all networks. The group's subnetwork and group node will also be destroyed.

    Module: group-api

    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 (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
    • Constructor Detail

      • GroupAboutToBeDestroyedEvent

        public GroupAboutToBeDestroyedEvent​(CyGroupManager source,
                                            CyGroup group)
        Constructs event.
        Parameters:
        source - the CyGroupManager of the group about to be destroyed.
        group - the CyGroup about to be destroyed.
    • Method Detail

      • getGroup

        public final CyGroup getGroup()