Interface TransformerViewFactory


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

    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>

    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.
    • Method Detail

      • 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.