com.ijchart.xychart.event
Class AnnotationChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ijchart.xychart.event.AnnotationChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class AnnotationChangeEvent
extends java.util.EventObject
implements java.io.Serializable

Title: IJChart

Description: a chart library for the Java(tm) platform.

A change event that encapsulates information about a change to a annotation.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AnnotationChangeEvent(IAnnotation annotation)
           Creates a new instance.
 
Method Summary
 IAnnotation getAnnotation()
           Returns the annotation that generated the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationChangeEvent

public AnnotationChangeEvent(IAnnotation annotation)
Creates a new instance.

Parameters:
annotation - IAnnotation The annotation that generated the event (null not permitted).
Method Detail

getAnnotation

public IAnnotation getAnnotation()
Returns the annotation that generated the event.

Returns:
The annotation that generated the event.