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 XalInternalDocumentXalInternalWindow.documentThe document corresponding to this main windowMethods in xal.extension.application that return XalInternalDocumentModifier and TypeMethodDescriptionabstract XalInternalDocumentDesktopApplicationAdaptor.newDocument(URL url) Subclasses should implement this method to return an instance of their custom subclass of XalDocument loaded from the specified URL.abstract XalInternalDocumentDesktopApplicationAdaptor.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 TypeMethodDescriptionvoidDesktopApplication.documentActivated(XalInternalDocument document) Handle the document activated event.voidXalInternalDocumentListener.documentActivated(XalInternalDocument document) Handle the document activated event.voidXalInternalWindow.documentActivated(XalInternalDocument document) Handle the document activated event.voidDesktopApplication.documentDeactivated(XalInternalDocument document) Handle the document activated event.voidXalInternalDocumentListener.documentDeactivated(XalInternalDocument document) Handle the document activated event.voidXalInternalWindow.documentDeactivated(XalInternalDocument document) Handle the document activated event.voidDesktopApplication.documentHasClosed(XalInternalDocument document) When a document has closed, the application receives this event and removes the document from its open documents list.voidXalInternalDocumentListener.documentHasClosed(XalInternalDocument document) Handle the event in which a document has closed.voidXalInternalWindow.documentHasClosed(XalInternalDocument document) Handle document closed event.voidDesktopApplication.documentWillClose(XalInternalDocument document) Handle document closing event.voidXalInternalDocumentListener.documentWillClose(XalInternalDocument document) Handle a the event indicating that a document is about to close.voidXalInternalWindow.documentWillClose(XalInternalDocument document) Handle the event indicating that the document will close by closing the window in response.voidDesktopApplicationAdaptor.editPreferences(XalInternalDocument document) Override this method to show your application's preference panel.voidDesktopApplication.hasChangesChanged(XalInternalDocument document, boolean newHasChangesStatus) Handle document change event.voidXalInternalDocumentListener.hasChangesChanged(XalInternalDocument document, boolean newHasChangesStatus) Handle a change in the whether a document has changes that need saving.voidXalInternalWindow.hasChangesChanged(XalInternalDocument document, boolean newHasChangesStatus) Update the title on the title bar to reflect whether the document has changes that need saving.protected voidCommander.loadCustomDocumentBundle(XalInternalDocument document) Load a custom bundle for the document if one exists.protected voidCommander.registerCommands(XalInternalDocument document) Register all document commands (default and custom).protected voidCommander.registerCustomCommands(XalInternalDocument document) Subclasses may override this method to provide custom document commands.voidDesktopApplication.titleChanged(XalInternalDocument document, String newTitle) Handle document title change event.voidXalInternalDocumentListener.titleChanged(XalInternalDocument document, String newTitle) Handle the title having changed for a document.final voidXalInternalWindow.titleChanged(XalInternalDocument document, String documentTitle) Handle the document event indicating that the title has changed.Constructors in xal.extension.application with parameters of type XalInternalDocumentModifierConstructorDescriptionprotectedCommander(Commander appCommander, XalInternalDocument document) Constructor for generating a document commander.protectedCommander(XalInternalDocument document) Constructor for generating a document commander.protectedXalInternalWindow(XalInternalDocument aDocument) Creates a new instance of WindowAdaptor