|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Handle
Defines a handle, an anchor point in the edge.
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>| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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()
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||