Class SetSelectedNetworksEvent

java.lang.Object
org.cytoscape.event.AbstractCyEvent<CyApplicationManager>
org.cytoscape.application.events.SetSelectedNetworksEvent
All Implemented Interfaces:
CyEvent<CyApplicationManager>

public final class SetSelectedNetworksEvent extends AbstractCyEvent<CyApplicationManager>
An event indicating the a collection of networks has been selected.

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.

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 Details

    • SetSelectedNetworksEvent

      public SetSelectedNetworksEvent(CyApplicationManager source, List<CyNetwork> networks)
      Constructor.
      Parameters:
      source - the application manager firing the event.
      networks - the collection of networks that has been selected.
  • Method Details

    • getNetworks

      public List<CyNetwork> getNetworks()
      Returns the list of networks selected.
      Returns:
      The list of networks selected.