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, 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 void dispose()
dispose
in interface Disposable
public void show()
show
in interface UserInterface
show
in class AbstractUserInterface
public void show(Display<?> display)
show
in interface UserInterface
show
in class AbstractUserInterface
public boolean isVisible()
isVisible
in interface UserInterface
isVisible
in class AbstractUserInterface
public Desktop getDesktop()
getDesktop
in interface UserInterface
public LegacyApplicationFrame getApplicationFrame()
getApplicationFrame
in interface UserInterface
public ToolBar getToolBar()
getToolBar
in interface UserInterface
public StatusBar getStatusBar()
getStatusBar
in interface UserInterface
public SwingConsolePane getConsolePane()
getConsolePane
in interface UserInterface
public SystemClipboard getSystemClipboard()
getSystemClipboard
in interface UserInterface
public DisplayWindow createDisplayWindow(Display<?> display)
createDisplayWindow
in interface UserInterface
public DialogPrompt dialogPrompt(String message, String title, DialogPrompt.MessageType messageType, DialogPrompt.OptionType optionType)
dialogPrompt
in interface UserInterface
public File chooseFile(String title, File file, String style)
chooseFile
in interface UserInterface
public File[] chooseFiles(File parent, File[] files, FileFilter filter, String style)
chooseFiles
in interface UserInterface
public void showContextMenu(String menuRoot, Display<?> display, int x, int y)
showContextMenu
in interface UserInterface
public void saveLocation()
saveLocation
in interface UserInterface
saveLocation
in class AbstractUserInterface
public void restoreLocation()
restoreLocation
in interface UserInterface
restoreLocation
in class AbstractUserInterface
public boolean requiresEDT()
requiresEDT
in interface UserInterface
Copyright © 2014–2022 ImageJ. All rights reserved.