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, showContextMenu
isVisible, restoreLocation, saveLocation, show, show, show
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chooseFile, chooseFiles, show
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public static final String NAME
public Desktop getDesktop()
UserInterface
public SwingMdiDisplayWindow createDisplayWindow(Display<?> display)
UserInterface
public SwingMdiDialogPrompt dialogPrompt(String message, String title, DialogPrompt.MessageType msg, DialogPrompt.OptionType option)
UserInterface
message
- 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()
AbstractSwingUI
setupAppFrame
in class AbstractSwingUI
protected void setupConsole()
AbstractSwingUI
setupConsole
in class AbstractSwingUI
Copyright © 2015–2022 SciJava. All rights reserved.