gate.event
Class GateEvent
java.lang.Object
java.util.EventObject
gate.event.GateEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AnnotationEvent, AnnotationSetEvent, ControllerEvent, CorpusEvent, CreoleEvent, DatastoreEvent, DocumentEvent, GazetteerEvent, ObjectModificationEvent
public class GateEvent
- extends EventObject
The top level event class for all the event types fired by the Gate system.
- See Also:
- Serialized Form
Constructor Summary |
GateEvent(Object source,
int type)
Constructor from source and type. |
Method Summary |
int |
getType()
Gets the type of the event. |
FEATURES_UPDATED
public static final int FEATURES_UPDATED
- See Also:
- Constant Field Values
type
protected int type
GateEvent
public GateEvent(Object source,
int type)
- Constructor from source and type.
- Parameters:
source
- the object that initiated this eventtype
- the type on the event.
getType
public int getType()
- Gets the type of the event.