Class SetNetworkPointerEvent

java.lang.Object
org.cytoscape.event.AbstractCyEvent<CyNode>
org.cytoscape.model.events.SetNetworkPointerEvent
All Implemented Interfaces:
CyEvent<CyNode>

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

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: 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>
  • Constructor Details

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

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