Class SetNetworkPointerEvent

  • All Implemented Interfaces:
    CyEvent<CyNode>

    public final class SetNetworkPointerEvent
    extends AbstractCyEvent<CyNode>
    Used to track setting of nested networks on nodes.

    Module: model-api

    To use this in your app, include the following dependency in your POM:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>model-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

      • SetNetworkPointerEvent

        public SetNetworkPointerEvent​(CyNode node,
                                      CyNetwork network)
        Constructs event.
        Parameters:
        node - the node that the nested network was set on
        network - the network that was set as the nested network on "node"
    • Method Detail

      • getNode

        public CyNode getNode()
        Returns the CyNode for this event.
        Returns:
        The CyNode for this event.
      • getNetwork

        public CyNetwork getNetwork()
        Returns the CyNetwork for this event.
        Returns:
        The CyNetwork for this event.