Uses of Class
xal.extension.application.XalInternalDocument
Packages that use XalInternalDocument
Package
Description
Provides a framework for building document based applications and even multi-document based applications.
-
Uses of XalInternalDocument in xal.extension.application
Fields in xal.extension.application declared as XalInternalDocumentModifier and TypeFieldDescriptionprotected XalInternalDocument
XalInternalWindow.document
The document corresponding to this main windowMethods in xal.extension.application that return XalInternalDocumentModifier and TypeMethodDescriptionabstract XalInternalDocument
DesktopApplicationAdaptor.newDocument
(URL url) Subclasses should implement this method to return an instance of their custom subclass of XalDocument loaded from the specified URL.abstract XalInternalDocument
DesktopApplicationAdaptor.newEmptyDocument()
Subclasses should implement this method to return an instance of their custom subclass of XalDocument.DesktopApplicationAdaptor.newEmptyDocument
(String type) Subclasses should implement this method to return an instance of their custom subclass of XalDocument.Methods in xal.extension.application with parameters of type XalInternalDocumentModifier and TypeMethodDescriptionvoid
DesktopApplication.documentActivated
(XalInternalDocument document) Handle the document activated event.void
XalInternalDocumentListener.documentActivated
(XalInternalDocument document) Handle the document activated event.void
XalInternalWindow.documentActivated
(XalInternalDocument document) Handle the document activated event.void
DesktopApplication.documentDeactivated
(XalInternalDocument document) Handle the document activated event.void
XalInternalDocumentListener.documentDeactivated
(XalInternalDocument document) Handle the document activated event.void
XalInternalWindow.documentDeactivated
(XalInternalDocument document) Handle the document activated event.void
DesktopApplication.documentHasClosed
(XalInternalDocument document) When a document has closed, the application receives this event and removes the document from its open documents list.void
XalInternalDocumentListener.documentHasClosed
(XalInternalDocument document) Handle the event in which a document has closed.void
XalInternalWindow.documentHasClosed
(XalInternalDocument document) Handle document closed event.void
DesktopApplication.documentWillClose
(XalInternalDocument document) Handle document closing event.void
XalInternalDocumentListener.documentWillClose
(XalInternalDocument document) Handle a the event indicating that a document is about to close.void
XalInternalWindow.documentWillClose
(XalInternalDocument document) Handle the event indicating that the document will close by closing the window in response.void
DesktopApplicationAdaptor.editPreferences
(XalInternalDocument document) Override this method to show your application's preference panel.void
DesktopApplication.hasChangesChanged
(XalInternalDocument document, boolean newHasChangesStatus) Handle document change event.void
XalInternalDocumentListener.hasChangesChanged
(XalInternalDocument document, boolean newHasChangesStatus) Handle a change in the whether a document has changes that need saving.void
XalInternalWindow.hasChangesChanged
(XalInternalDocument document, boolean newHasChangesStatus) Update the title on the title bar to reflect whether the document has changes that need saving.protected void
Commander.loadCustomDocumentBundle
(XalInternalDocument document) Load a custom bundle for the document if one exists.protected void
Commander.registerCommands
(XalInternalDocument document) Register all document commands (default and custom).protected void
Commander.registerCustomCommands
(XalInternalDocument document) Subclasses may override this method to provide custom document commands.void
DesktopApplication.titleChanged
(XalInternalDocument document, String newTitle) Handle document title change event.void
XalInternalDocumentListener.titleChanged
(XalInternalDocument document, String newTitle) Handle the title having changed for a document.final void
XalInternalWindow.titleChanged
(XalInternalDocument document, String documentTitle) Handle the document event indicating that the title has changed.Constructors in xal.extension.application with parameters of type XalInternalDocumentModifierConstructorDescriptionprotected
Commander
(Commander appCommander, XalInternalDocument document) Constructor for generating a document commander.protected
Commander
(XalInternalDocument document) Constructor for generating a document commander.protected
XalInternalWindow
(XalInternalDocument aDocument) Creates a new instance of WindowAdaptor