public class LegacyUI extends AbstractUserInterface implements SwingUI
UserInterface implementation for working between
ImageJ2 (net.imagej.*) and ImageJ1 (ij.*) applications.| Constructor and Description |
|---|
LegacyUI() |
| Modifier and Type | Method and Description |
|---|---|
File |
chooseFile(String title,
File file,
String style) |
File[] |
chooseFiles(File parent,
File[] files,
FileFilter filter,
String style) |
DisplayWindow |
createDisplayWindow(Display<?> display) |
DialogPrompt |
dialogPrompt(String message,
String title,
DialogPrompt.MessageType messageType,
DialogPrompt.OptionType optionType) |
void |
dispose() |
LegacyApplicationFrame |
getApplicationFrame() |
SwingConsolePane |
getConsolePane() |
Desktop |
getDesktop() |
StatusBar |
getStatusBar() |
SystemClipboard |
getSystemClipboard() |
ToolBar |
getToolBar() |
boolean |
isVisible() |
boolean |
requiresEDT() |
void |
restoreLocation() |
void |
saveLocation() |
void |
show() |
void |
show(Display<?> display) |
void |
showContextMenu(String menuRoot,
Display<?> display,
int x,
int y) |
createUI, 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 void dispose()
dispose in interface Disposablepublic void show()
show in interface UserInterfaceshow in class AbstractUserInterfacepublic void show(Display<?> display)
show in interface UserInterfaceshow in class AbstractUserInterfacepublic boolean isVisible()
isVisible in interface UserInterfaceisVisible in class AbstractUserInterfacepublic Desktop getDesktop()
getDesktop in interface UserInterfacepublic LegacyApplicationFrame getApplicationFrame()
getApplicationFrame in interface UserInterfacepublic ToolBar getToolBar()
getToolBar in interface UserInterfacepublic StatusBar getStatusBar()
getStatusBar in interface UserInterfacepublic SwingConsolePane getConsolePane()
getConsolePane in interface UserInterfacepublic SystemClipboard getSystemClipboard()
getSystemClipboard in interface UserInterfacepublic DisplayWindow createDisplayWindow(Display<?> display)
createDisplayWindow in interface UserInterfacepublic DialogPrompt dialogPrompt(String message, String title, DialogPrompt.MessageType messageType, DialogPrompt.OptionType optionType)
dialogPrompt in interface UserInterfacepublic File chooseFile(String title, 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 void saveLocation()
saveLocation in interface UserInterfacesaveLocation in class AbstractUserInterfacepublic void restoreLocation()
restoreLocation in interface UserInterfacerestoreLocation in class AbstractUserInterfacepublic boolean requiresEDT()
requiresEDT in interface UserInterfaceCopyright © 2014–2022 ImageJ. All rights reserved.