gov.sns.application
Interface XalDocumentListener

All Known Implementing Classes:
Application, XalWindow

public interface XalDocumentListener

Interface for common document event listeners.


Method Summary
 void documentHasClosed(XalDocument document)
          Handle the event in which a document has closed.
 void documentWillClose(XalDocument document)
          Handle a the event indicating that a document is about to close.
 void hasChangesChanged(XalDocument document, boolean newHasChangesStatus)
          Handle a change in the whether a document has changes that need saving.
 void titleChanged(XalDocument document, java.lang.String newTitle)
          Handle the title having changed for a document.
 

Method Detail

titleChanged

public void titleChanged(XalDocument document,
                         java.lang.String newTitle)
Handle the title having changed for a document.

Parameters:
document - The document whose title changed.
newTitle - The new document title.

hasChangesChanged

public void hasChangesChanged(XalDocument document,
                              boolean newHasChangesStatus)
Handle a change in the whether a document has changes that need saving.

Parameters:
document - The document whose change status changed
newHasChangesStatus - The new "hasChanges" status of the document.

documentWillClose

public void documentWillClose(XalDocument document)
Handle a the event indicating that a document is about to close.

Parameters:
document - The document that will close.

documentHasClosed

public void documentHasClosed(XalDocument document)
Handle the event in which a document has closed.

Parameters:
document - The document that has closed.