public abstract class AbstractSwingUI extends AbstractUserInterface implements SwingUI
| Constructor and Description |
|---|
AbstractSwingUI() |
| Modifier and Type | Method and Description |
|---|---|
File |
chooseFile(File file,
String style) |
File[] |
chooseFiles(File parent,
File[] files,
FileFilter filter,
String style) |
protected JMenuBar |
createConsoleMenu() |
protected JMenuBar |
createMenus()
Creates a
JMenuBar from the master ShadowMenu structure. |
protected void |
createUI() |
void |
dispose() |
SwingApplicationFrame |
getApplicationFrame() |
SwingConsolePane |
getConsolePane() |
SwingStatusBar |
getStatusBar() |
SystemClipboard |
getSystemClipboard() |
SwingToolBar |
getToolBar() |
boolean |
requiresEDT() |
protected abstract void |
setupAppFrame()
Configures the application frame for subclass-specific settings (e.g., SDI
or MDI).
|
protected abstract void |
setupConsole()
Configures the console for subclass-specific settings (e.g., SDI or MDI).
|
void |
showContextMenu(String menuRoot,
Display<?> display,
int x,
int y) |
isVisible, restoreLocation, saveLocation, show, show, showgetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchooseFile, chooseFiles, createDisplayWindow, dialogPrompt, getDesktop, showgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic SwingApplicationFrame getApplicationFrame()
getApplicationFrame in interface UserInterfacepublic SwingToolBar getToolBar()
getToolBar in interface UserInterfacepublic SwingStatusBar getStatusBar()
getStatusBar in interface UserInterfacepublic SwingConsolePane getConsolePane()
getConsolePane in interface UserInterfacepublic SystemClipboard getSystemClipboard()
getSystemClipboard in interface UserInterfacepublic File chooseFile(File file, String style)
chooseFile in interface UserInterfacepublic File[] chooseFiles(File parent, File[] files, FileFilter filter, String style)
chooseFiles in interface UserInterfacepublic void showContextMenu(String menuRoot, Display<?> display, int x, int y)
showContextMenu in interface UserInterfacepublic boolean requiresEDT()
requiresEDT in interface UserInterfacepublic void dispose()
dispose in interface Disposableprotected void createUI()
createUI in class AbstractUserInterfaceprotected JMenuBar createMenus()
JMenuBar from the master ShadowMenu structure.protected JMenuBar createConsoleMenu()
protected abstract void setupAppFrame()
protected abstract void setupConsole()
Copyright © 2010–2022 SciJava. All rights reserved.