Cytoscape 3.0.1 API
Class GroupAboutToCollapseEvent

  extended by org.cytoscape.event.AbstractCyEvent<CyGroup>
      extended by
All Implemented Interfaces:

public final class GroupAboutToCollapseEvent
extends AbstractCyEvent<CyGroup>

This event signals that a group is either about to be 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.

Constructor Summary
GroupAboutToCollapseEvent(CyGroup source, CyNetwork network, boolean collapsing)
          Constructs event.
Method Summary
 boolean collapsing()
          Is the group collapsed or expanded?
 CyNetwork getNetwork()
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public GroupAboutToCollapseEvent(CyGroup source,
                                 CyNetwork network,
                                 boolean collapsing)
Constructs event.

source - the CyGroup that has been changed.
network - the CyNetwork the group has been changed in.
collapsing - true if the group is about to be collapsed
Method Detail


public boolean collapsing()
Is the group collapsed or expanded?

true if the group is about to be collapsed


public final CyNetwork getNetwork()

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.