Uses of Class
xal.extension.application.XalDocument
Packages that use XalDocument
Package
Description
Provides a framework for building document based applications and even multi-document based applications.
Provides a framework for building document based applications that use XAL's
accelerator architecture.
-
Uses of XalDocument in xal.extension.application
Fields in xal.extension.application declared as XalDocumentModifier and TypeFieldDescriptionprotected XalDocumentXalWindow.documentThe document corresponding to this main windowMethods in xal.extension.application that return XalDocumentModifier and TypeMethodDescriptionabstract XalDocumentApplicationAdaptor.newDocument(URL url) Subclasses should implement this method to return an instance of their custom subclass of XalDocument loaded from the specified URL.abstract XalDocumentApplicationAdaptor.newEmptyDocument()Subclasses should implement this method to return an instance of their custom subclass of XalDocument.ApplicationAdaptor.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 XalDocumentModifier and TypeMethodDescriptionvoidFrameApplication.documentHasClosed(XalDocument document) Implement XalDocumentListener.voidXalDocumentListener.documentHasClosed(XalDocument document) Handle the event in which a document has closed.voidXalWindow.documentHasClosed(XalDocument document) Implement XalDocumentListener.voidFrameApplication.documentWillClose(XalDocument document) Implement XalDocumentListener.voidXalDocumentListener.documentWillClose(XalDocument document) Handle a the event indicating that a document is about to close.voidXalWindow.documentWillClose(XalDocument document) Implement XalDocumentListener.voidApplicationAdaptor.editPreferences(XalDocument document) Override this method to show your application's preference panel.voidFrameApplication.hasChangesChanged(XalDocument document, boolean newHasChangesStatus) Implement XalDocumentListener.voidXalDocumentListener.hasChangesChanged(XalDocument document, boolean newHasChangesStatus) Handle a change in the whether a document has changes that need saving.voidXalWindow.hasChangesChanged(XalDocument document, boolean newHasChangesStatus) Implement XalDocumentListener.protected voidCommander.registerCommands(XalDocument document) Register all document commands (default and custom).protected voidCommander.registerCustomCommands(XalDocument document) Subclasses may override this method to provide custom document commands.voidFrameApplication.titleChanged(XalDocument document, String newTitle) Implement XalDocumentListener.voidXalDocumentListener.titleChanged(XalDocument document, String newTitle) Handle the title having changed for a document.final voidXalWindow.titleChanged(XalDocument document, String documentTitle) Implement XalDocumentListener and handle the event where the title has changed.Constructors in xal.extension.application with parameters of type XalDocumentModifierConstructorDescriptionprotectedCommander(Commander appCommander, XalDocument document) Constructor for generating a document commander.DefaultXalWindow(XalDocument aDocument) ConstructorDefaultXalWindow(XalDocument aDocument, boolean displaysToolbar) ConstructorprotectedXalWindow(XalDocument aDocument) Creates a new instance of WindowAdaptorprotectedXalWindow(XalDocument aDocument, boolean displayToolbar) -
Uses of XalDocument in xal.extension.application.smf
Subclasses of XalDocument in xal.extension.application.smfModifier and TypeClassDescriptionclassAcceleratorDocument is a subclass of XalDocument for accelerator based applications.Methods in xal.extension.application.smf with parameters of type XalDocumentModifier and TypeMethodDescriptionprotected voidAcceleratorCommander.registerCustomCommands(XalDocument document) This method overrides the inherited method to add the accelerator handler which dynamically generates the Accelerator menu items.Constructors in xal.extension.application.smf with parameters of type XalDocumentModifierConstructorDescriptionprotectedAcceleratorCommander(Commander appCommander, XalDocument document) Creates a new instance of AcceleratorCommanderprotectedAcceleratorWindow(XalDocument aDocument) Creates a new instance of AcceleratorWindowDefaultAcceleratorWindow(XalDocument aDocument) Constructor