Class AnnotationPaintable
java.lang.Object
edu.uci.ics.jung.visualization.annotations.AnnotationPaintable
- All Implemented Interfaces:
VisualizationServer.Paintable
handles the actual drawing of annotations
- Author:
- Tom Nelson - tomnelson@dev.java.net
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AnnotationRendererprotected Set<Annotation> protected RenderContext<?, ?> protected AffineTransformer -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationPaintable(RenderContext<?, ?> rc, AnnotationRenderer annotationRenderer) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Annotation<?> annotation) voidprepareRenderer(RenderContext<?, ?> rc, AnnotationRenderer annotationRenderer, Object value) voidremove(Annotation<?> annotation) boolean
-
Field Details
-
annotations
-
annotationRenderer
-
rc
-
transformer
-
-
Constructor Details
-
AnnotationPaintable
-
-
Method Details
-
add
-
remove
-
getAnnotations
- Returns:
- the annotations
-
paint
- Specified by:
paintin interfaceVisualizationServer.Paintable
-
prepareRenderer
public Component prepareRenderer(RenderContext<?, ?> rc, AnnotationRenderer annotationRenderer, Object value) -
useTransform
public boolean useTransform()- Specified by:
useTransformin interfaceVisualizationServer.Paintable
-