public interface Handle
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>
Modifier and Type | Method and Description |
---|---|
Point2D |
calculateHandleLocation(CyNetworkView netView,
View<CyEdge> edgeView)
Calculate absolute position of this handle for the given edge view.
|
void |
defineHandle(CyNetworkView netView,
View<CyEdge> edgeView,
double x,
double y)
Define this handle.
|
String |
getSerializableString()
Create string representation of this object for parsing.
|
Point2D calculateHandleLocation(CyNetworkView netView, View<CyEdge> edgeView)
netView
- graph view for this handleedgeView
- The handle belongs to this edge view.void defineHandle(CyNetworkView netView, View<CyEdge> edgeView, double x, double y)
netView
- graph view for this handleedgeView
- The handle belongs to this edge view.x
- Absolute value for X-location.y
- Absolute value for Y-location.String getSerializableString()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.