public final class SetCurrentNetworkEvent extends AbstractCyEvent<CyApplicationManager>
Module: application-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>application-api</artifactId> </dependency>
Constructor and Description |
---|
SetCurrentNetworkEvent(CyApplicationManager source,
CyNetwork net)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CyNetwork |
getNetwork()
Returns the network associated with this event.
|
Collection<CyEdge> |
getSelectedEdges() |
Collection<CyNode> |
getSelectedNodes() |
Collection<CyEdge> |
getUnselectedEdges() |
Collection<CyNode> |
getUnselectedNodes() |
getListenerClass, getSource
public SetCurrentNetworkEvent(CyApplicationManager source, CyNetwork net)
source
- The application manager that is the source of the event.net
- The network that has been set to the current network.public final CyNetwork getNetwork()
public Collection<CyNode> getSelectedNodes()
public Collection<CyNode> getUnselectedNodes()
public Collection<CyEdge> getSelectedEdges()
public Collection<CyEdge> getUnselectedEdges()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.