GATE
Version 3.1-2270

gate.event
Interface DocumentListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AnnotationSetsView, CorefEditor

public interface DocumentListener
extends EventListener

A listener for document events (DocumentEvent).


Method Summary
 void annotationSetAdded(DocumentEvent e)
          Called when a new AnnotationSet has been added
 void annotationSetRemoved(DocumentEvent e)
          Called when an AnnotationSet has been removed
 void contentEdited(DocumentEvent e)
          Called when the content of the document has changed through an edit operation.
 

Method Detail

annotationSetAdded

void annotationSetAdded(DocumentEvent e)
Called when a new AnnotationSet has been added


annotationSetRemoved

void annotationSetRemoved(DocumentEvent e)
Called when an AnnotationSet has been removed


contentEdited

void contentEdited(DocumentEvent e)
Called when the content of the document has changed through an edit operation.


GATE
Version 3.1-2270