Class AnnotationChangeEvent

All Implemented Interfaces:
Serializable

public class AnnotationChangeEvent
extends ChartChangeEvent
An event that can be forwarded to any AnnotationChangeListener to signal a change to an Annotation.
See Also:
Serialized Form
  • Constructor Details

    • AnnotationChangeEvent

      public AnnotationChangeEvent​(Object source, Annotation annotation)
      Creates a new AnnotationChangeEvent instance.
      Parameters:
      source - the event source.
      annotation - the annotation that triggered the event (null not permitted).
  • Method Details

    • getAnnotation

      Returns the annotation that triggered the event.
      Returns:
      The annotation that triggered the event (never null).