|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationManager
The annotation manager is responsible for managing all of the
annotations currently assigned to a particular
org.cytoscape.view.model.NetworkView
. Annotations must
be added to the annotation manager to be displayed.
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 | |
---|---|
void |
addAnnotation(Annotation annotation)
Add an annotation to the specified network view. |
List<Annotation> |
getAnnotations(CyNetworkView networkView)
Retrieve the list of annotations for a specific network view. |
void |
removeAnnotation(Annotation annotation)
Remove an annotation from its network view. |
Method Detail |
---|
void addAnnotation(Annotation annotation)
annotation
- the annotation to addnetworkView
- the network view to add this annotation tovoid removeAnnotation(Annotation annotation)
annotation
- the annotation to removeList<Annotation> getAnnotations(CyNetworkView networkView)
networkView
- the network view to get the list from
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |