Package org.cytoscape.view.model.table
Interface CyTableViewFactoryProvider
public interface CyTableViewFactoryProvider
A singleton factory that is used to create CyTableViewFactory
objects.
Apps that contribute renderers (via TableViewRenderer) may provide their own
implementation of CyTableViewFactory
, or they may acquire a reusable
instance of CyTableViewFactory
from this service. The CyTableViewFactory
provided by this service may be configured using a provided VisualLexicon
.
The CyTableViewFactoryProvider is available as an OSGi service.
Example of creating a CyTableViewFactory for a standard renderer:
CyTableViewViewFactoryProvider provider = getService(bc, CyTableViewViewFactoryProvider.class); CyTableViewFactory viewFactory = provider.createTableViewFactory(myLexicon, MyRenderer.ID);
- Since:
- 3.9
Module: viewmodel-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
-
Method Summary
Modifier and TypeMethodDescriptioncreateTableViewFactory
(VisualLexicon lexicon, String rendererID) Returns a CyTableViewFactory for the given lexicon and with the given ID.
-
Method Details
-
createTableViewFactory
Returns a CyTableViewFactory for the given lexicon and with the given ID.
-