Class GroupNodesRemovedEvent

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

public final class GroupNodesRemovedEvent extends AbstractCyEvent
This event signals that edges have been removed from 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

    • GroupNodesRemovedEvent

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

      public GroupNodesRemovedEvent(CyGroup source, List<CyNode> nodes)
      Constructs event.
      Parameters:
      source - the CyGroup that is changing.
      nodes - A list of nodes removed.
  • 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.