Class SetCurrentNetworkViewEvent

  • All Implemented Interfaces:
    CyEvent<CyApplicationManager>

    public final class SetCurrentNetworkViewEvent
    extends AbstractCyEvent<CyApplicationManager>
    An event indicating that a network view has been set to current.

    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

      • SetCurrentNetworkViewEvent

        public SetCurrentNetworkViewEvent​(CyApplicationManager source,
                                          CyNetworkView view)
        Constructor.
        Parameters:
        source - The application manager firing this event.
        view - The network view that has been set as current.
    • Method Detail

      • getNetworkView

        public final CyNetworkView getNetworkView()
        Returns the network view associated with this event. The view returned may be null!
        Returns:
        the network view associated with this event.