Class AboutToRemoveEdgesEvent

All Implemented Interfaces:

public final class AboutToRemoveEdgesEvent extends AbstractCyEvent<CyNetwork>
Fired before an edge is actually removed so that listeners have a chance to clean up before the edge object disappears.

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.

Module: model-api

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

  • Constructor Details

    • AboutToRemoveEdgesEvent

      public AboutToRemoveEdgesEvent(CyNetwork source, Collection<CyEdge> edges)
      Constructs event.
      source - the network firing this event.
      edges - the collection of edges about to be removed.
  • Method Details

    • getEdges

      public Collection<CyEdge> getEdges()
      Returns the collection of edges about to be removed.
      the collection of edges about to be removed.