Class GroupAboutToBeRemovedEvent

All Implemented Interfaces:

public final class GroupAboutToBeRemovedEvent extends AbstractCyEvent<CyGroup>
This event signals that a group is about to be removed from a network, but not completely deleted. This event is meant to be used primarily by the the view and presentation layers for managing the visualization of 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:

  • Constructor Details

    • GroupAboutToBeRemovedEvent

      public GroupAboutToBeRemovedEvent(CyGroup source, CyNetwork network)
      Constructs event.
      source - the CyGroup that is about to be removed.
      network - the CyNetwork the group is about to be removed from
  • Method Details

    • getNetwork

      public final CyNetwork getNetwork()