Package xal.extension.application
Interface XalInternalDocumentListener
- All Known Implementing Classes:
DesktopApplication
,XalInternalWindow
public interface XalInternalDocumentListener
Interface for document event handlers.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
documentActivated
(XalInternalDocument document) Handle the document activated event.void
documentDeactivated
(XalInternalDocument document) Handle the document activated event.void
documentHasClosed
(XalInternalDocument document) Handle the event in which a document has closed.void
documentWillClose
(XalInternalDocument document) Handle a the event indicating that a document is about to close.void
hasChangesChanged
(XalInternalDocument document, boolean newHasChangesStatus) Handle a change in the whether a document has changes that need saving.void
titleChanged
(XalInternalDocument document, String newTitle) Handle the title having changed for a document.
-
Method Details
-
titleChanged
Handle the title having changed for a document.- Parameters:
document
- The document whose title changed.newTitle
- The new document title.
-
hasChangesChanged
Handle a change in the whether a document has changes that need saving.- Parameters:
document
- The document whose change status changednewHasChangesStatus
- The new "hasChanges" status of the document.
-
documentWillClose
Handle a the event indicating that a document is about to close.- Parameters:
document
- The document that will close.
-
documentHasClosed
Handle the event in which a document has closed.- Parameters:
document
- The document that has closed.
-
documentActivated
Handle the document activated event.- Parameters:
document
- the document that has been activated.
-
documentDeactivated
Handle the document activated event.- Parameters:
document
- the document that has been activated.
-