Package org.cytoscape.model.events
Class NetworkAddedEvent
- java.lang.Object
-
- org.cytoscape.event.AbstractCyEvent<CyNetworkManager>
-
- org.cytoscape.model.events.NetworkAddedEvent
-
- All Implemented Interfaces:
CyEvent<CyNetworkManager>
public final class NetworkAddedEvent extends AbstractCyEvent<CyNetworkManager>
This event signals that a network has been added.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 NetworkAddedEvent(CyNetworkManager source, CyNetwork net)
Constructs event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CyNetwork
getNetwork()
-
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
-
-
-
Constructor Detail
-
NetworkAddedEvent
public NetworkAddedEvent(CyNetworkManager source, CyNetwork net)
Constructs event.- Parameters:
source
- theCyNetworkManager
the network has been added to.net
- theCyNetwork
that has been added.
-
-
Method Detail
-
getNetwork
public final CyNetwork getNetwork()
-
-