Class RenderingEngineAddedEvent

All Implemented Interfaces:

public final class RenderingEngineAddedEvent extends AbstractCyEvent<RenderingEngineManager>
When new presentation is created, its factory always creates a RenderingEngine). The engine should be added to RenderingEngineManager and it fires this event.

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.

Module: presentation-api

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

  • Constructor Details

    • RenderingEngineAddedEvent

      public RenderingEngineAddedEvent(RenderingEngineManager source, RenderingEngine<?> engine)
      Create an event for newly created presentation.
      source - manager holding reference to this new rendering engine
      engine - New RenderingEngine just created.
  • Method Details

    • getRenderingEngine

      public RenderingEngine<?> getRenderingEngine()
      Get new rendering engine.
      new rendering engine.