Class SetCurrentRenderingEngineEvent

  • All Implemented Interfaces:
    CyEvent<CyApplicationManager>

    public final class SetCurrentRenderingEngineEvent
    extends AbstractCyEvent<CyApplicationManager>
    This event signals that a RenderingEngine has been set as current.

    Module: application-api

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

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>application-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

      • SetCurrentRenderingEngineEvent

        public SetCurrentRenderingEngineEvent​(CyApplicationManager source,
                                              RenderingEngine<CyNetwork> engine)
        Constructor.
        Parameters:
        source - The application manager firing this event.
        engine - The rendering engine (presentation) that has been set as current.
    • Method Detail

      • getRenderingEngine

        public RenderingEngine<CyNetwork> getRenderingEngine()
        Return the rendering engine (presentation) that has been set as current.
        Returns:
        the rendering engine (presentation) that has been set as current.