GATE
Version 3.1-2270

gate.event
Class AnnotationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gate.event.GateEvent
          extended by 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
 
Fields inherited from class gate.event.GateEvent
FEATURES_UPDATED, type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AnnotationEvent(Annotation source, int type)
          Constructor.
 
Method Summary
 
Methods inherited from class gate.event.GateEvent
getType
 
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
 

Field Detail

ANNOTATION_UPDATED

public static final int ANNOTATION_UPDATED
Event type used for situations when an annotation has been updated

See Also:
Constant Field Values
Constructor Detail

AnnotationEvent

public AnnotationEvent(Annotation source,
                       int type)
Constructor.

Parameters:
source - the Annotation that fired the event
type - the type of the event

GATE
Version 3.1-2270