Package org.cytoscape.model.events
Class AddedEdgesEvent
- java.lang.Object
-
- org.cytoscape.event.AbstractCyEvent<T>
-
- org.cytoscape.event.AbstractCyPayloadEvent<CyNetwork,CyEdge>
-
- org.cytoscape.model.events.AddedEdgesEvent
-
- All Implemented Interfaces:
CyEvent<CyNetwork>
,CyPayloadEvent<CyNetwork,CyEdge>
public final class AddedEdgesEvent extends AbstractCyPayloadEvent<CyNetwork,CyEdge>
An event fired when an edge is added to a network.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 Summary
Constructors Constructor Description AddedEdgesEvent(CyNetwork source, Collection<CyEdge> edges)
Constructs event.
-
Method Summary
-
Methods inherited from class org.cytoscape.event.AbstractCyPayloadEvent
getPayloadCollection
-
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
-
Methods inherited from interface org.cytoscape.event.CyEvent
getListenerClass, getSource
-
-
-
-
Constructor Detail
-
AddedEdgesEvent
public AddedEdgesEvent(CyNetwork source, Collection<CyEdge> edges)
Constructs event.- Parameters:
source
- The CyNetwork the edge was added to.edges
- The collection of CyEdge objects added to the network.
-
-