Package org.cytoscape.view.model.events
Class ViewChangedEvent<T>
- java.lang.Object
-
- org.cytoscape.event.AbstractCyEvent<T>
-
- org.cytoscape.event.AbstractCyPayloadEvent<CyNetworkView,ViewChangeRecord<T>>
-
- org.cytoscape.view.model.events.ViewChangedEvent<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
CyEvent<CyNetworkView>
,CyPayloadEvent<CyNetworkView,ViewChangeRecord<T>>
public final class ViewChangedEvent<T> extends AbstractCyPayloadEvent<CyNetworkView,ViewChangeRecord<T>>
This event is fired when aVisualProperty
value is set or removed from aView
.This event should be created and fired by the view being updated and not anyone else.
Module:
viewmodel-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-api</artifactId> </dependency>
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
Constructors Constructor Description ViewChangedEvent(CyNetworkView source, Collection<ViewChangeRecord<T>> payload)
-
Method Summary
-
Methods inherited from class org.cytoscape.event.AbstractCyPayloadEvent
getPayloadCollection
-
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
-
ViewChangedEvent
public ViewChangedEvent(CyNetworkView source, Collection<ViewChangeRecord<T>> payload)
-
-