Class GroupCollapsedEvent

All Implemented Interfaces:

public final class GroupCollapsedEvent extends AbstractCyEvent<CyGroup>
This event signals that a group has either been expanded or collapsed in a particular 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

    • GroupCollapsedEvent

      public GroupCollapsedEvent(CyGroup source, CyNetwork network, boolean collapsed)
      Constructs event.
      source - the CyGroup that has been changed.
      network - the CyNetwork the group has been changed in.
      collapsed - true if the group has collapsed
  • Method Details

    • collapsed

      public boolean collapsed()
      Is the group collapsed or expanded?
      true if the group was collapsed
    • getNetwork

      public final CyNetwork getNetwork()