public interface RenderingEngineManager
Register/unregister engines are handled through RenderingEngineAddedEvents.
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>
Modifier and Type | Method and Description |
---|---|
void |
addRenderingEngine(RenderingEngine<?> engine)
Add new
RenderingEngine to this manager. |
Collection<RenderingEngine<?>> |
getAllRenderingEngines()
Get all
RenderingEngine s registered in this manager. |
VisualLexicon |
getDefaultVisualLexicon()
Provide default
VisualLexicon from a default engine factory. |
Collection<RenderingEngine<?>> |
getRenderingEngines(View<?> viewModel)
Get rendering engines for the given view model.
|
void |
removeRenderingEngine(RenderingEngine<?> engine)
Remove a rendering engine.
|
VisualLexicon getDefaultVisualLexicon()
VisualLexicon
from a default engine factory. In
current implementation, this is always DING's lexicon.Collection<RenderingEngine<?>> getRenderingEngines(View<?> viewModel)
viewModel
- View model for the presentation.Collection<RenderingEngine<?>> getAllRenderingEngines()
RenderingEngine
s registered in this manager.void addRenderingEngine(RenderingEngine<?> engine)
RenderingEngine
to this manager.
This method fires
RenderingEngineAddedEvent
.
engine
- New engine to be added.void removeRenderingEngine(RenderingEngine<?> engine)
This method fires
RenderingEngineAboutToBeRemovedEvent
.
engine
- engine to be removed.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.