public class AnnotationManager extends 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(Point2D p) |
Annotation<?> |
getAnnotation(Point2D p,
Collection<Annotation> annotations) |
AnnotationPaintable |
getAnnotationPaintable(Annotation.Layer layer) |
protected AnnotationPaintable |
getLowerAnnotationPaintable() |
protected AnnotationPaintable |
getUpperAnnotationPaintable() |
Component |
prepareRenderer(RenderContext<?,?> rc,
AnnotationRenderer annotationRenderer,
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(Point2D p)
public Annotation<?> getAnnotation(Point2D p, Collection<Annotation> annotations)
public Component prepareRenderer(RenderContext<?,?> rc, AnnotationRenderer annotationRenderer, Object value)
Copyright © 2015. All rights reserved.