|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationFactory<T extends Annotation>
An interface describing a factory used to create Annotation
s. This factory will be provided
as a service through OSGi.
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 | |
---|---|
T |
createAnnotation(Class<? extends T> type,
CyNetworkView view,
Map<String,String> argMap)
Create an annotation. |
Method Detail |
---|
T createAnnotation(Class<? extends T> type, CyNetworkView view, Map<String,String> argMap)
AnnotationManager#addAnnotation()
method.
type
- the class of annotation you want to createargMap
- the arguments to use to initialize the annotation. See the descriptions for
each annotation type to see the list of keys for the arg map.
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |