T
- Compatible data model for this factory. For example, if this
parameter is set to CyNetwork, the factory creates rendering
engine for CyNetwork
objects.public interface RenderingEngineFactory<T>
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 |
---|---|
RenderingEngine<T> |
createRenderingEngine(Object visualizationContainer,
View<T> viewModel)
A view model can have multiple presentations.
|
VisualLexicon |
getVisualLexicon()
Returns supported VisualLexicon supported by this rendering engine implementation.
|
RenderingEngine<T> createRenderingEngine(Object visualizationContainer, View<T> viewModel)
visualizationContainer
- Window component which contains the rendered view. In most
cases, Window components in Swing will be used.viewModel
- view-model to be rendered by the RenderingEngine.VisualLexicon getVisualLexicon()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.