edu.uci.ics.jung.visualization.annotations
Class AnnotationPaintable
java.lang.Object
edu.uci.ics.jung.visualization.annotations.AnnotationPaintable
- All Implemented Interfaces:
- VisualizationServer.Paintable
public class AnnotationPaintable
- extends Object
- implements VisualizationServer.Paintable
handles the actual drawing of annotations
- 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 |
annotations
protected Set<Annotation> annotations
annotationRenderer
protected AnnotationRenderer annotationRenderer
rc
protected RenderContext rc
transformer
protected AffineTransformer transformer
AnnotationPaintable
public AnnotationPaintable(RenderContext rc,
AnnotationRenderer annotationRenderer)
add
public void add(Annotation annotation)
remove
public void remove(Annotation annotation)
getAnnotations
public Set<Annotation> getAnnotations()
- Returns:
- the annotations
paint
public void paint(Graphics g)
- Specified by:
paint
in interface VisualizationServer.Paintable
prepareRenderer
public Component prepareRenderer(RenderContext rc,
AnnotationRenderer annotationRenderer,
Object value)
useTransform
public boolean useTransform()
- Specified by:
useTransform
in interface VisualizationServer.Paintable
Copyright © 2008 null. All Rights Reserved.