Class AddedNodeViewsEvent

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

    public final class AddedNodeViewsEvent
    extends AbstractCyPayloadEvent<CyNetworkView,​View<CyNode>>
    When node View is added to a CyNetworkView, this event will be fired.

    Module: viewmodel-api

    To use this in your app, include the following dependency in your POM:


    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

      • AddedNodeViewsEvent

        public AddedNodeViewsEvent​(CyNetworkView source,
                                   Collection<View<CyNode>> nodeViews)
        Creates the event for a new node view.
        source - network view which includes the new node view.
        nodeViews - Collection of newly created view object for a node.
    • Method Detail

      • getNodeViews

        public Collection<View<CyNode>> getNodeViews()
        Returns new node view object.
        new node view