gate.event
Interface DocumentListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AnnotationSetsView, CorefEditor, DocumentEditor.EventsHandler

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

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


annotationSetRemoved

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


contentEdited

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