Class NetworkAboutToBeDestroyedEvent

  • All Implemented Interfaces:
    CyEvent<CyNetworkManager>

    public final class NetworkAboutToBeDestroyedEvent
    extends AbstractCyEvent<CyNetworkManager>
    This event signals that a network is about to be destroyed.

    Module: model-api

    To use this in your app, include the following dependency in your POM:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>model-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

      • NetworkAboutToBeDestroyedEvent

        public NetworkAboutToBeDestroyedEvent​(CyNetworkManager source,
                                              CyNetwork net)
        Constructs event.
        Parameters:
        source - the CyNetworkManager of the network about to be destroyed.
        net - the CyNetwork about to be destroyed.
    • Method Detail

      • getNetwork

        public final CyNetwork getNetwork()