Package org.jfree.chart.event
Class AnnotationChangeEvent
java.lang.Object
java.util.EventObject
org.jfree.chart.event.ChartChangeEvent
org.jfree.chart.event.AnnotationChangeEvent
- All Implemented Interfaces:
 Serializable
An event that can be forwarded to any 
AnnotationChangeListener to
 signal a change to an Annotation.- See Also:
 
- 
Field Summary
Fields inherited from class java.util.EventObject
source - 
Constructor Summary
ConstructorsConstructorDescriptionAnnotationChangeEvent(Object source, Annotation annotation) Creates a newAnnotationChangeEventinstance. - 
Method Summary
Modifier and TypeMethodDescriptionReturns the annotation that triggered the event.Methods inherited from class org.jfree.chart.event.ChartChangeEvent
getChart, getType, setChart, setTypeMethods inherited from class java.util.EventObject
getSource, toString 
- 
Constructor Details
- 
AnnotationChangeEvent
Creates a newAnnotationChangeEventinstance.- Parameters:
 source- the event source.annotation- the annotation that triggered the event (nullnot permitted).
 
 - 
 - 
Method Details
- 
getAnnotation
Returns the annotation that triggered the event.- Returns:
 - The annotation that triggered the event (never 
null). 
 
 -