public class AnnotationPaintable extends Object implements VisualizationServer.Paintable
| Modifier and Type | Field and Description |
|---|---|
protected AnnotationRenderer |
annotationRenderer |
protected Set<Annotation> |
annotations |
protected RenderContext<?,?> |
rc |
protected AffineTransformer |
transformer |
| Constructor and Description |
|---|
AnnotationPaintable(RenderContext<?,?> rc,
AnnotationRenderer annotationRenderer) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Annotation<?> annotation) |
Set<Annotation> |
getAnnotations() |
void |
paint(Graphics g) |
Component |
prepareRenderer(RenderContext<?,?> rc,
AnnotationRenderer annotationRenderer,
Object value) |
void |
remove(Annotation<?> annotation) |
boolean |
useTransform() |
protected Set<Annotation> annotations
protected AnnotationRenderer annotationRenderer
protected RenderContext<?,?> rc
protected AffineTransformer transformer
public AnnotationPaintable(RenderContext<?,?> rc, AnnotationRenderer annotationRenderer)
public void add(Annotation<?> annotation)
public void remove(Annotation<?> annotation)
public Set<Annotation> getAnnotations()
public void paint(Graphics g)
paint in interface VisualizationServer.Paintablepublic Component prepareRenderer(RenderContext<?,?> rc, AnnotationRenderer annotationRenderer, Object value)
public boolean useTransform()
useTransform in interface VisualizationServer.PaintableCopyright © 2016. All rights reserved.