public abstract class DesktopApplicationAdaptor extends AbstractApplicationAdaptor
docURLs, GUI_BRICKS_RESOURCE, WILDCARD_FILE_EXTENSION
Constructor and Description |
---|
DesktopApplicationAdaptor() |
Modifier and Type | Method and Description |
---|---|
void |
applicationWillDisplayDesktopPane()
Event indicating that the application will display the desktop pane.
|
boolean |
drawsDocumentContentOnDrag()
Determine whether to draw a document's contents when its window is dragged.
|
void |
editPreferences(XalInternalDocument document)
Override this method to show your application's preference panel.
|
xal.extension.application.XalAbstractDocument |
generateEmptyDocument(java.lang.String type)
Generate a new empty document.
|
abstract XalInternalDocument |
newDocument(java.net.URL url)
Subclasses should implement this method to return an instance of their
custom subclass of XalDocument loaded from the specified URL.
|
abstract XalInternalDocument |
newEmptyDocument()
Subclasses should implement this method to return an instance of their
custom subclass of XalDocument.
|
XalInternalDocument |
newEmptyDocument(java.lang.String type)
Subclasses should implement this method to return an instance of their
custom subclass of XalDocument.
|
applicationFinishedLaunching, applicationName, applicationWillOpenInitialDocuments, applicationWillQuit, canOpenDocuments, customizeCommands, documentClosed, documentCreated, getDefaultWindowReference, getDocURLs, getResourceURL, readableDocumentTypes, setOptions, setResourcesLocation, setResourcesParentDirectory, setResourcesParentDirectoryWithPath, showsWelcomeDialogAtLaunch, usesConsole, writableDocumentTypes
public abstract XalInternalDocument newEmptyDocument()
public XalInternalDocument newEmptyDocument(java.lang.String type)
public abstract XalInternalDocument newDocument(java.net.URL url)
public final xal.extension.application.XalAbstractDocument generateEmptyDocument(java.lang.String type)
generateEmptyDocument
in class AbstractApplicationAdaptor
type
- the type of document to create.public void editPreferences(XalInternalDocument document)
document
- The document whose preferences are being changed. Subclasses may ignore.public boolean drawsDocumentContentOnDrag()
public void applicationWillDisplayDesktopPane()