public class SwingMdiUI extends AbstractSwingUI
| Constructor and Description |
|---|
SwingMdiUI() |
| Modifier and Type | Method and Description |
|---|---|
SwingMdiDisplayWindow |
createDisplayWindow(Display<?> display)
Creates a new display window housing the given display, or null if not
applicable.
|
SwingMdiDialogPrompt |
dialogPrompt(String message,
String title,
DialogPrompt.MessageType msg,
DialogPrompt.OptionType option)
Creates a dialog prompter.
|
Desktop |
getDesktop()
Gets the desktop, for use with multi-document interfaces (MDI), or null if
not applicable.
|
protected void |
setupAppFrame()
Configures the application frame for subclass-specific settings (e.g., SDI
or MDI).
|
protected void |
setupConsole()
Configures the console for subclass-specific settings (e.g., SDI or MDI).
|
chooseFile, chooseFiles, createConsoleMenu, createMenus, createUI, dispose, getApplicationFrame, getConsolePane, getStatusBar, getSystemClipboard, getToolBar, requiresEDT, showContextMenuisVisible, restoreLocation, saveLocation, show, show, showgetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchooseFile, chooseFiles, showgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic static final String NAME
public Desktop getDesktop()
UserInterfacepublic SwingMdiDisplayWindow createDisplayWindow(Display<?> display)
UserInterfacepublic SwingMdiDialogPrompt dialogPrompt(String message, String title, DialogPrompt.MessageType msg, DialogPrompt.OptionType option)
UserInterfacemessage - The message in the dialog itself.title - The title of the dialog.msg - The type of message. This typically is rendered as an
icon next to the message. For example,
DialogPrompt.MessageType.WARNING_MESSAGE typically appears
as an exclamation point.option - The choices available when dismissing the dialog. These
choices are typically rendered as buttons for the user to click.protected void setupAppFrame()
AbstractSwingUIsetupAppFrame in class AbstractSwingUIprotected void setupConsole()
AbstractSwingUIsetupConsole in class AbstractSwingUICopyright © 2015–2022 SciJava. All rights reserved.