Class GroupNodesAddedEvent

java.lang.Object
org.cytoscape.event.AbstractCyEvent
org.cytoscape.group.events.GroupNodesAddedEvent
All Implemented Interfaces:
CyEvent

public final class GroupNodesAddedEvent extends AbstractCyEvent
This event signals that edges have been added to the network.

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: group-api

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

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>group-api</artifactId>
</dependency>
  • Constructor Details

    • GroupNodesAddedEvent

      public GroupNodesAddedEvent(CyGroup source, CyNode node)
      Constructs event.
      Parameters:
      source - the CyGroup that is changing.
      node - A single node added.
    • GroupNodesAddedEvent

      public GroupNodesAddedEvent(CyGroup source, List<CyNode> nodes)
      Constructs event.
      Parameters:
      source - the CyGroup that is changing.
      nodes - A list of nodes added.
  • Method Details

    • getNodes

      public List<CyNode> getNodes()
      Returns the list of nodes associated with this event. The list may be empty, but will not be null.
      Returns:
      the list of nodes associated with this event.