|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Bend
Definition of Edge Bends.
Bend is an ordered List of Handles.
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 | |
|---|---|
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. |
| Method Detail |
|---|
List<Handle> getAllHandles()
Handles 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()
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||