Package org.cytoscape.view.model.events
Class NetworkViewAddedEvent
- java.lang.Object
-
- org.cytoscape.event.AbstractCyEvent<CyNetworkViewManager>
-
- org.cytoscape.view.model.events.NetworkViewAddedEvent
-
- All Implemented Interfaces:
CyEvent<CyNetworkViewManager>
public final class NetworkViewAddedEvent extends AbstractCyEvent<CyNetworkViewManager>
When aCyNetworkView
is added to a CyNetworkViewManager, this event will be fired.Module:
viewmodel-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-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 NetworkViewAddedEvent(CyNetworkViewManager source, CyNetworkView view)
Creates the event for network views that are added.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CyNetworkView
getNetworkView()
-
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
-
-
-
Constructor Detail
-
NetworkViewAddedEvent
public NetworkViewAddedEvent(CyNetworkViewManager source, CyNetworkView view)
Creates the event for network views that are added.- Parameters:
source
- theCyNetworkViewManager
that the CyNetworkView was added to.view
- theCyNetworkView
that was added.
-
-
Method Detail
-
getNetworkView
public final CyNetworkView getNetworkView()
-
-