Interface CyTableViewFactory


public interface CyTableViewFactory
Factory for CyTableView objects. Modules which need to create view models should import this as a service.
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 Details

    • createTableView

      CyTableView createTableView(CyTable table)
      Create a CyTableView from a CyTable object. This method only creates a CyTableView instance and does nothing with respect to visual style, layout, or CyTableViewManager.
      Parameters:
      table - CyTable for which the CyTableView is to be created
      Returns:
      the view model for the table data model