public class AnnotationPaintable extends java.lang.Object implements VisualizationServer.Paintable
Modifier and Type | Field and Description |
---|---|
protected AnnotationRenderer |
annotationRenderer |
protected java.util.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) |
java.util.Set<Annotation> |
getAnnotations() |
void |
paint(java.awt.Graphics g) |
java.awt.Component |
prepareRenderer(RenderContext<?,?> rc,
AnnotationRenderer annotationRenderer,
java.lang.Object value) |
void |
remove(Annotation annotation) |
boolean |
useTransform() |
protected java.util.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 java.util.Set<Annotation> getAnnotations()
public void paint(java.awt.Graphics g)
paint
in interface VisualizationServer.Paintable
public java.awt.Component prepareRenderer(RenderContext<?,?> rc, AnnotationRenderer annotationRenderer, java.lang.Object value)
public boolean useTransform()
useTransform
in interface VisualizationServer.Paintable