Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

javax.ide.model
Interface DocumentListener

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.

See Also:
Document, DocumentEvent

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

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

Parameters:
event - the DocumentEvent.

willBeClosed

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

Parameters:
event - the DocumentEvent.

closed

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.

Parameters:
event - the DocumentEvent.

modified

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

Parameters:
event - the DocumentEvent.

willBeSaved

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

Parameters:
event - the DocumentEvent.

saved

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

Parameters:
event - the DocumentEvent.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.