public class SwingSDIUI extends AbstractSwingUI
| Constructor and Description |
|---|
SwingSDIUI() |
| Modifier and Type | Method and Description |
|---|---|
SwingDisplayWindow |
createDisplayWindow(Display<?> display)
Creates a new display window housing the given display, or null if not
applicable.
|
static SwingDisplayWindow |
createDisplayWindow(Display<?> display,
EventService eventService)
Utility method for creating
SwingDisplayWindows. |
DialogPrompt |
dialogPrompt(String message,
String title,
DialogPrompt.MessageType msg,
DialogPrompt.OptionType option)
Creates a dialog prompter.
|
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, getDesktop, showgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic SwingDisplayWindow createDisplayWindow(Display<?> display)
UserInterfacepublic DialogPrompt 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.public static SwingDisplayWindow createDisplayWindow(Display<?> display, EventService eventService)
SwingDisplayWindows.protected void setupAppFrame()
AbstractSwingUIsetupAppFrame in class AbstractSwingUIprotected void setupConsole()
AbstractSwingUIsetupConsole in class AbstractSwingUICopyright © 2015–2022 SciJava. All rights reserved.