org.jfree.chart.annotations
Interface Annotation
-
- All Known Subinterfaces:
- CategoryAnnotation, XYAnnotation
- All Known Implementing Classes:
- AbstractAnnotation, AbstractXYAnnotation, CategoryLineAnnotation, CategoryPointerAnnotation, CategoryTextAnnotation, TextAnnotation, XYBoxAnnotation, XYDataImageAnnotation, XYDrawableAnnotation, XYImageAnnotation, XYLineAnnotation, XYPointerAnnotation, XYPolygonAnnotation, XYShapeAnnotation, XYTextAnnotation, XYTitleAnnotation
public interface AnnotationThe base interface for annotations. All annotations should support theAnnotationChangeEventmechanism by allowing listeners to register and receive notification of any changes to the annotation.- Since:
- 1.0.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidaddChangeListener(AnnotationChangeListener listener)Registers an object for notification of changes to the annotation.voidremoveChangeListener(AnnotationChangeListener listener)Deregisters an object for notification of changes to the annotation.
-
-
-
Method Detail
-
addChangeListener
void addChangeListener(AnnotationChangeListener listener)
Registers an object for notification of changes to the annotation.- Parameters:
listener- the object to register.
-
removeChangeListener
void removeChangeListener(AnnotationChangeListener listener)
Deregisters an object for notification of changes to the annotation.- Parameters:
listener- the object to deregister.
-
-
DMelt 3.0 © DataMelt by jWork.ORG