Class RenderingEngineAboutToBeRemovedEvent
java.lang.Object
org.cytoscape.event.AbstractCyEvent<RenderingEngineManager>
org.cytoscape.view.presentation.events.RenderingEngineAboutToBeRemovedEvent
- All Implemented Interfaces:
CyEvent<RenderingEngineManager>
public final class RenderingEngineAboutToBeRemovedEvent
extends AbstractCyEvent<RenderingEngineManager>
When presentation (rendered graphics) is destroyed, this event should be
fired.
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:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>presentation-api</artifactId> </dependency>
-
Constructor Summary
ConstructorDescriptionRenderingEngineAboutToBeRemovedEvent
(RenderingEngineManager source, RenderingEngine<?> engine) Construct an event for destroyed RenderingEngine. -
Method Summary
Modifier and TypeMethodDescriptionReturns theRenderingEngine
associated with the deleted presentation.Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
Constructor Details
-
RenderingEngineAboutToBeRemovedEvent
public RenderingEngineAboutToBeRemovedEvent(RenderingEngineManager source, RenderingEngine<?> engine) Construct an event for destroyed RenderingEngine.- Parameters:
source
- source of event. In theory, this can be anything, but in most cases, it will be an GUI components.engine
- RenderingEngine associated with the deleted presentation.
-
-
Method Details
-
getRenderingEngine
Returns theRenderingEngine
associated with the deleted presentation.- Returns:
- the
RenderingEngine
associated with the deleted presentation.
-