Interface AnnotationPainter
-
@OpenApiAll public interface AnnotationPainterAn interface for annotation painter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisposeOn(Annotation annotation)Dispose this painter on the given annotation.booleanisSuitable(java.lang.Object target)Check if this painter is suitable to paint annotation on the given targetvoidpaint(Annotation annotation, java.awt.Graphics2D g, java.lang.Object target)Paint annotation
-
-
-
Method Detail
-
isSuitable
boolean isSuitable(java.lang.Object target)
Check if this painter is suitable to paint annotation on the given target- Parameters:
target- target object- Returns:
- true if painter should be used to paint the annotation
-
paint
void paint(Annotation annotation, java.awt.Graphics2D g, java.lang.Object target)
Paint annotation- Parameters:
annotation- annotationg- graphicstarget- target object
-
disposeOn
void disposeOn(Annotation annotation)
Dispose this painter on the given annotation. This method is called if painter is replaced on Annotation.- Parameters:
annotation- annotation
-
-