public class AnnotationManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AnnotationRenderer |
annotationRenderer |
protected AnnotationPaintable |
lowerAnnotationPaintable |
protected RenderContext<?,?> |
rc |
protected AffineTransformer |
transformer |
protected AnnotationPaintable |
upperAnnotationPaintable |
Constructor and Description |
---|
AnnotationManager(RenderContext<?,?> rc) |
Modifier and Type | Method and Description |
---|---|
void |
add(Annotation.Layer layer,
Annotation<?> annotation) |
Annotation |
getAnnotation(java.awt.geom.Point2D p) |
Annotation |
getAnnotation(java.awt.geom.Point2D p,
java.util.Collection<Annotation> annotations) |
AnnotationPaintable |
getAnnotationPaintable(Annotation.Layer layer) |
protected AnnotationPaintable |
getLowerAnnotationPaintable() |
protected AnnotationPaintable |
getUpperAnnotationPaintable() |
java.awt.Component |
prepareRenderer(RenderContext<?,?> rc,
AnnotationRenderer annotationRenderer,
java.lang.Object value) |
void |
remove(Annotation<?> annotation) |
protected AnnotationRenderer annotationRenderer
protected AnnotationPaintable lowerAnnotationPaintable
protected AnnotationPaintable upperAnnotationPaintable
protected RenderContext<?,?> rc
protected AffineTransformer transformer
public AnnotationManager(RenderContext<?,?> rc)
public AnnotationPaintable getAnnotationPaintable(Annotation.Layer layer)
public void add(Annotation.Layer layer, Annotation<?> annotation)
public void remove(Annotation<?> annotation)
protected AnnotationPaintable getLowerAnnotationPaintable()
protected AnnotationPaintable getUpperAnnotationPaintable()
public Annotation getAnnotation(java.awt.geom.Point2D p)
public Annotation getAnnotation(java.awt.geom.Point2D p, java.util.Collection<Annotation> annotations)
public java.awt.Component prepareRenderer(RenderContext<?,?> rc, AnnotationRenderer annotationRenderer, java.lang.Object value)