Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model
Interface DocumentListener  view DocumentListener download DocumentListener.java

All Superinterfaces:
java.util.EventListener

public interface DocumentListener
extends java.util.EventListener

The DocumentListener interface should be implemented by clients that are interested in being notified about operations on Documents.


Method Summary
 void closed(DocumentEvent event)
          Notify listeners that the document has been closed.
 void modified(DocumentEvent event)
          Notify listeners that the document has been modified.
 void opened(DocumentEvent event)
          Notify listeners that the document has been opened.
 void saved(DocumentEvent event)
          Notify listeners that the document has been saved.
 void willBeClosed(DocumentEvent event)
          Notify listeners that the document is about to be closed.
 void willBeSaved(DocumentEvent event)
          Notify listeners that the document is about to be saved.
 

Method Detail

opened

public void opened(DocumentEvent event)
Notify listeners that the document has been opened.


willBeClosed

public void willBeClosed(DocumentEvent event)
Notify listeners that the document is about to be closed.


closed

public void closed(DocumentEvent event)
Notify listeners that the document has been closed. Clients should not call Document methods that cause the document to be reopened.


modified

public void modified(DocumentEvent event)
Notify listeners that the document has been modified.


willBeSaved

public void willBeSaved(DocumentEvent event)
Notify listeners that the document is about to be saved.


saved

public void saved(DocumentEvent event)
Notify listeners that the document has been saved.