Cytoscape 3.0.1 API

org.cytoscape.model.events
Class AboutToRemoveEdgesEvent

java.lang.Object
  extended by org.cytoscape.event.AbstractCyEvent<CyNetwork>
      extended by org.cytoscape.model.events.AboutToRemoveEdgesEvent
All Implemented Interfaces:
CyEvent<CyNetwork>

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.

Constructor Summary
AboutToRemoveEdgesEvent(CyNetwork source, Collection<CyEdge> edges)
          Constructs event.
 
Method Summary
 Collection<CyEdge> getEdges()
          Returns the collection of edges about to be removed.
 
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AboutToRemoveEdgesEvent

public AboutToRemoveEdgesEvent(CyNetwork source,
                               Collection<CyEdge> edges)
Constructs event.

Parameters:
source - the network firing this event.
edges - the collection of edges about to be removed.
Method Detail

getEdges

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

Returns:
the collection of edges about to be removed.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.