public interface Bend
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 |
---|---|
List<Handle> |
getAllHandles()
Get List of all handles on this edge
|
int |
getIndex(Handle handle)
Get index of a Handle
|
String |
getSerializableString()
Create string representation of this object for parsing.
|
void |
insertHandleAt(int index,
Handle handle)
Insert a Handle to the specified position in the Bend
|
void |
removeAllHandles()
Remove all Handles on this Bend
|
void |
removeHandleAt(int handleIndex)
Remove a Handle at the given index.
|
List<Handle> getAllHandles()
Handle
s belong to this Bend.void insertHandleAt(int index, Handle handle)
index
- Position of the new Handlehandle
- Handle to be addedvoid removeHandleAt(int handleIndex)
handleIndex
- Index of the Handle to be removedvoid removeAllHandles()
int getIndex(Handle handle)
handle
- String getSerializableString()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.