org.cytoscape.event
Interface CyPayloadEvent<S,P>
- Type Parameters:
- S- The event source type.
- P- The payload type.
- All Superinterfaces: 
- CyEvent<S>
- All Known Implementing Classes: 
- AbstractCyPayloadEvent, AddedEdgesEvent, AddedEdgeViewsEvent, AddedNodesEvent, AddedNodeViewsEvent, NetworkViewChangedEvent, RowsCreatedEvent, RowsSetEvent
- public interface CyPayloadEvent<S,P> 
- extends CyEvent<S>
An extension of CyEvent specifically for payload events.
 A payload event is a single event that contains a
 collection of payload objects, which represent the state
 change of the event. Payload events are used in cases
 where many small changes can be combined into a single
 event object (such as node creation or table row 
 modification).  The goal is to prevent too many events
 from being fired.
Cytoscape Backwards Compatibility (SPI Interface):  We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
 
 
getPayloadCollection
Collection<P> getPayloadCollection()
- Returns a collection of payload objects.
 
- 
 
- 
- Returns:
- a collection of payload objects.
 
Copyright 2011 Cytoscape Consortium.  All rights reserved.