Cytoscape 3.0.1 API
Class AddedNodesEvent

  extended by org.cytoscape.event.AbstractCyEvent<T>
      extended by org.cytoscape.event.AbstractCyPayloadEvent<CyNetwork,CyNode>
          extended by
All Implemented Interfaces:
CyEvent<CyNetwork>, CyPayloadEvent<CyNetwork,CyNode>

public final class AddedNodesEvent
extends AbstractCyPayloadEvent<CyNetwork,CyNode>

Event for upper layers. In general, network view models listen to this event and creates view model for the node. This will be fired to ALL network view models.

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
AddedNodesEvent(CyNetwork source, Collection<CyNode> nodes)
          Constructs event.
Method Summary
Methods inherited from class org.cytoscape.event.AbstractCyPayloadEvent
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
Methods inherited from interface org.cytoscape.event.CyEvent
getListenerClass, getSource

Constructor Detail


public AddedNodesEvent(CyNetwork source,
                       Collection<CyNode> nodes)
Constructs event.

source - The CyNetwork the node was added to.
nodes - The collection of nodes that were added to the network.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.