edu.uci.ics.jung.visualization.annotations
Class AnnotationManager
java.lang.Object
edu.uci.ics.jung.visualization.annotations.AnnotationManager
public class AnnotationManager
- extends Object
handles the selection of annotations, and the support for the
tools to draw them at specific layers.
- Author:
- Tom Nelson - tomnelson@dev.java.net
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotationRenderer
protected AnnotationRenderer annotationRenderer
lowerAnnotationPaintable
protected AnnotationPaintable lowerAnnotationPaintable
upperAnnotationPaintable
protected AnnotationPaintable upperAnnotationPaintable
rc
protected RenderContext<?,?> rc
transformer
protected AffineTransformer transformer
AnnotationManager
public AnnotationManager(RenderContext<?,?> rc)
getAnnotationPaintable
public AnnotationPaintable getAnnotationPaintable(Annotation.Layer layer)
add
public void add(Annotation.Layer layer,
Annotation<?> annotation)
remove
public void remove(Annotation<?> annotation)
getLowerAnnotationPaintable
protected AnnotationPaintable getLowerAnnotationPaintable()
getUpperAnnotationPaintable
protected AnnotationPaintable getUpperAnnotationPaintable()
getAnnotation
public Annotation getAnnotation(Point2D p)
getAnnotation
public Annotation getAnnotation(Point2D p,
Collection<Annotation> annotations)
prepareRenderer
public Component prepareRenderer(RenderContext<?,?> rc,
AnnotationRenderer annotationRenderer,
Object value)
Copyright © 2009. All Rights Reserved.