Cytoscape 3.0.1 API

org.cytoscape.view.presentation.events
Class RenderingEngineAddedEvent

java.lang.Object
  extended by org.cytoscape.event.AbstractCyEvent<RenderingEngineManager>
      extended by org.cytoscape.view.presentation.events.RenderingEngineAddedEvent
All Implemented Interfaces:
CyEvent<RenderingEngineManager>

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.

Constructor Summary
RenderingEngineAddedEvent(RenderingEngineManager source, RenderingEngine<?> engine)
          Create an event for newly created presentation.
 
Method Summary
 RenderingEngine<?> getRenderingEngine()
          Get new rendering engine.
 
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderingEngineAddedEvent

public RenderingEngineAddedEvent(RenderingEngineManager source,
                                 RenderingEngine<?> engine)
Create an event for newly created presentation.

Parameters:
source - manager holding reference to this new rendering engine
engine - New RenderingEngine just created.
Method Detail

getRenderingEngine

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

Returns:
new rendering engine.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.