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