Interface TransformerViewFactory


public interface TransformerViewFactory
A factory for making UI panels to configure a specific Transformer.

Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.

Module: filter-api

To use this in your app, include the following dependency in your POM:

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>filter-api</artifactId>
</dependency>
  • Method Summary

    Modifier and Type
    Method
    Description
    createView(Transformer<?,?> transformer)
    Creates a UI panel that configures the given transformer.
    Returns the unique id of the Transformer this factory produces views for.
  • Method Details

    • getId

      String getId()
      Returns the unique id of the Transformer this factory produces views for.
      Returns:
      the unique id of the Transformer this factory produces views for.
    • createView

      JComponent createView(Transformer<?,?> transformer)
      Creates a UI panel that configures the given transformer.
      Parameters:
      transformer - the Transformer to be configured.
      Returns:
      a UI panel that configures the given transformer.