Class SetSelectedNetworksEvent

  • All Implemented Interfaces:
    CyEvent<CyApplicationManager>

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

    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>

    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 Detail

      • 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 Detail

      • getNetworks

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