gate.event
Class GateEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--gate.event.GateEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AnnotationSetEvent, CreoleEvent, DatastoreEvent, DocumentEvent

public class GateEvent
extends EventObject

The top level event class for all the event types fired by the Gate system.

See Also:
Serialized Form

Field Summary
protected  int type
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GateEvent(Object source, int type)
          Constructor from source and type.
 
Method Summary
 int getType()
          Gets the type of 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, registerNatives, wait, wait, wait
 

Field Detail

type

protected int type
Constructor Detail

GateEvent

public GateEvent(Object source,
                 int type)
Constructor from source and type.
Parameters:
source - the object that initiated this event
type - the type on the event.
Method Detail

getType

public int getType()
Gets the type of the event.