gate.event
Class AnnotationEvent
java.lang.Object
|
+--java.util.EventObject
|
+--gate.event.GateEvent
|
+--gate.event.AnnotationEvent
- All Implemented Interfaces:
- Serializable
- public class AnnotationEvent
- extends GateEvent
This class models events fired by an Annotation
.
- See Also:
- Serialized Form
Field Summary |
static int |
ANNOTATION_UPDATED
Event type used for situations when an annotation has been updated |
ANNOTATION_UPDATED
public static final int ANNOTATION_UPDATED
- Event type used for situations when an annotation has been updated
AnnotationEvent
public AnnotationEvent(Annotation source,
int type)
- Constructor.
- Parameters:
source
- the Annotation
that fired the eventtype
- the type of the event