Class RemovedNodesEvent

  • All Implemented Interfaces:
    CyEvent<CyNetwork>

    public final class RemovedNodesEvent
    extends AbstractCyEvent<CyNetwork>
    Just a signal in case anyone wants to resync after a node has been removed. Note that this event also implies a RemovedEdgesEvent for every edge adjacent to the node in question (because all adjacent edges are removed as a consequence of removing a node) even though the RemovedEdgesEvent is not actually fired. If you only care about removing edges, be sure to listen for this event as well!

    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

      • RemovedNodesEvent

        public RemovedNodesEvent​(CyNetwork source)
        Constructs event.
        Parameters:
        source - The network from which a node was deleted.