Class AnnotationManager
java.lang.Object
edu.uci.ics.jung.visualization.annotations.AnnotationManager
handles the selection of annotations, and the support for the
tools to draw them at specific layers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AnnotationRendererprotected AnnotationPaintableprotected RenderContext<?, ?> protected AffineTransformerprotected AnnotationPaintable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Annotation.Layer layer, Annotation<?> annotation) Annotation<?> Annotation<?> getAnnotation(Point2D p, Collection<Annotation> annotations) protected AnnotationPaintableprotected AnnotationPaintableprepareRenderer(RenderContext<?, ?> rc, AnnotationRenderer annotationRenderer, Object value) voidremove(Annotation<?> annotation)
-
Field Details
-
annotationRenderer
-
lowerAnnotationPaintable
-
upperAnnotationPaintable
-
rc
-
transformer
-
-
Constructor Details
-
AnnotationManager
-
-
Method Details
-
getAnnotationPaintable
-
add
-
remove
-
getLowerAnnotationPaintable
-
getUpperAnnotationPaintable
-
getAnnotation
-
getAnnotation
-
prepareRenderer
public Component prepareRenderer(RenderContext<?, ?> rc, AnnotationRenderer annotationRenderer, Object value)
-