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 AnnotationRenderer
protected AnnotationPaintable
protected RenderContext
<?, ?> protected AffineTransformer
protected AnnotationPaintable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(Annotation.Layer layer, Annotation<?> annotation) Annotation
<?> Annotation
<?> getAnnotation
(Point2D p, Collection<Annotation> annotations) protected AnnotationPaintable
protected AnnotationPaintable
prepareRenderer
(RenderContext<?, ?> rc, AnnotationRenderer annotationRenderer, Object value) void
remove
(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)
-