Interface UpdateNetworkPresentationListener

  • All Superinterfaces:
    CyListener

    public interface UpdateNetworkPresentationListener
    extends CyListener
    Listener for UpdateNetworkPresentationEvent. Usually, presentation layer objects implements this event handler and redraw the presentation (visualization) once it catches this event.

    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 (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.
    • Method Detail

      • handleEvent

        void handleEvent​(UpdateNetworkPresentationEvent e)
        Listener implementing this method will redraw the presentation if necessary.
        Parameters:
        e - Event containing target network view-model.