Interface DefaultViewEditor


@Deprecated public interface DefaultViewEditor
Deprecated.
Default View Editor is the component to display available visual properties and its default view for given Visual Style. This component will be provided as a service.

Module: vizmap-gui-api

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

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>vizmap-gui-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

    • getDefaultView

      @Deprecated Component getDefaultView(VisualStyle vs)
      Deprecated.
      For a given visual style name, return a component containing a graphical view of the specified visual style.
      Parameters:
      vs - The VisualStyle to get the default view of.
      Returns:
      a component containing a graphical view of the specified visual style.
    • showEditor

      @Deprecated void showEditor(Component parent)
      Deprecated.
      Show the default view editor in the specified parent component.
      Parameters:
      parent - The component in which the default view should be shown.