Interface HandleFactory


public interface HandleFactory
Factory of the handle object.

Module: presentation-api

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

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>presentation-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 Type
    Method
    Description
    createHandle(CyNetworkView graphView, View<CyEdge> view, double x, double y)
    Creates a new instance of the Handle.
  • Method Details

    • createHandle

      Handle createHandle(CyNetworkView graphView, View<CyEdge> view, double x, double y)
      Creates a new instance of the Handle.
      Parameters:
      x - x position of the handle (absolute position)
      y - y position of the handle (absolute position)
      Returns:
      instance of new handle.