edu.uci.ics.jung.visualization.annotations
Class AnnotationManager
- java.lang.Object
-
- edu.uci.ics.jung.visualization.annotations.AnnotationManager
-
public class AnnotationManager extends java.lang.Objecthandles the selection of annotations, and the support for the tools to draw them at specific layers.
-
-
Constructor Summary
Constructors Constructor and Description AnnotationManager(RenderContext<?,?> rc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(Annotation.Layer layer, Annotation<?> annotation)Annotation<?>getAnnotation(java.awt.geom.Point2D p)Annotation<?>getAnnotation(java.awt.geom.Point2D p, java.util.Collection<Annotation> annotations)AnnotationPaintablegetAnnotationPaintable(Annotation.Layer layer)java.awt.ComponentprepareRenderer(RenderContext<?,?> rc, AnnotationRenderer annotationRenderer, java.lang.Object value)voidremove(Annotation<?> annotation)
-
-
-
Constructor Detail
-
AnnotationManager
public AnnotationManager(RenderContext<?,?> rc)
-
-
Method Detail
-
getAnnotationPaintable
public AnnotationPaintable getAnnotationPaintable(Annotation.Layer layer)
-
add
public void add(Annotation.Layer layer, Annotation<?> annotation)
-
remove
public void remove(Annotation<?> annotation)
-
getAnnotation
public Annotation<?> getAnnotation(java.awt.geom.Point2D p)
-
getAnnotation
public Annotation<?> getAnnotation(java.awt.geom.Point2D p, java.util.Collection<Annotation> annotations)
-
prepareRenderer
public java.awt.Component prepareRenderer(RenderContext<?,?> rc, AnnotationRenderer annotationRenderer, java.lang.Object value)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG