Class AboutToRemoveEdgeViewsEvent

  • All Implemented Interfaces:
    CyEvent<CyNetworkView>, CyPayloadEvent<CyNetworkView,​View<CyEdge>>

    public final class AboutToRemoveEdgeViewsEvent
    extends AbstractCyPayloadEvent<CyNetworkView,​View<CyEdge>>
    When edge Views are about to be removed from a CyNetworkView, this event will be fired.

    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 Detail

      • AboutToRemoveEdgeViewsEvent

        public AboutToRemoveEdgeViewsEvent​(CyNetworkView source,
                                           Collection<View<CyEdge>> payload)
        Creates the event for about to be removed edge views.
        Parameters:
        source - network view which includes the edge views about to be removed.
        payload - Collection of edge view objects about to be removed.