| static String | UI_PROPERTY
System property to set for overriding the default UI.
|
| void | addDisplayViewer(DisplayViewer<?> viewer)
Registers the given viewer with the service.
|
| void | addUI(String name,
UserInterface ui)
Adds the given UI to those managed by the service.
|
| void | addUI(UserInterface ui)
Adds the given UI to those managed by the service.
|
| File | chooseFile(File file,
String style)
Prompts the user to choose a file.
|
| File | chooseFile(String title,
File file,
String style)
Prompts the user to choose a file.
|
| File[] | chooseFiles(File parent,
File[] files,
FileFilter filter,
String style)
Prompts the user to select one or multiple files.
|
| List<File> | chooseFiles(File parent,
List<File> fileList,
FileFilter filter,
String style)
Prompts the user to select one or multiple files.
|
| List<UserInterface> | getAvailableUIs()
Gets the user interfaces available to the service.
|
| UserInterface | getDefaultUI()
Gets the default user interface.
|
| DisplayViewer<?> | getDisplayViewer(Display<?> display)
Gets the UI widget being used to visualize the given Display.
|
| String | getStatusMessage(StatusEvent statusEvent)
Gets the status message associated with the given event.
|
| UserInterface | getUI(String name)
Gets the UI with the given name (or class name).
|
| List<PluginInfo<DisplayViewer<?>>> | getViewerPlugins()
Gets the list of known viewer plugins.
|
| List<UserInterface> | getVisibleUIs()
Gets the user interfaces that are currently visible.
|
| boolean | isDefaultUI(String name)
Gets whether the UI with the given name (or class name) is the default one.
|
| boolean | isHeadless()
Gets whether the UI is running in headless mode (no UI).
|
| boolean | isVisible()
Gets whether the default UI is visible.
|
| boolean | isVisible(String name)
Gets whether the UI with the given name or class name is visible.
|
| void | setDefaultUI(UserInterface ui)
Sets the default user interface.
|
| void | setHeadless(boolean isHeadless)
Sets whether the application is running in headless mode (no UI).
|
| void | show(Display<?> display)
Creates and shows the given Display using an appropriate UI widget
of the default user interface.
|
| void | show(Object o)
Creates a Display for the given object, and shows it using an
appropriate UI widget of the default user interface.
|
| void | show(String name,
Object o)
Creates a Display for the given object, and shows it using an
appropriate UI widget of the default user interface.
|
| void | showContextMenu(String menuRoot,
Display<?> display,
int x,
int y)
Displays a popup context menu for the given display at the specified
position.
|
| DialogPrompt.Result | showDialog(String message)
Displays a dialog prompt.
|
| DialogPrompt.Result | showDialog(String message,
DialogPrompt.MessageType messageType)
Displays a dialog prompt.
|
| DialogPrompt.Result | showDialog(String message,
DialogPrompt.MessageType messageType,
DialogPrompt.OptionType optionType)
Displays a dialog prompt.
|
| DialogPrompt.Result | showDialog(String message,
String title)
Displays a dialog prompt.
|
| DialogPrompt.Result | showDialog(String message,
String title,
DialogPrompt.MessageType messageType)
Displays a dialog prompt.
|
| DialogPrompt.Result | showDialog(String message,
String title,
DialogPrompt.MessageType messageType,
DialogPrompt.OptionType optionType)
Displays a dialog prompt.
|
| void | showUI()
Displays the UI for the default user interface.
|
| void | showUI(String name)
Displays the UI with the given name (or class name).
|
| void | showUI(UserInterface ui)
Displays the given UI.
|
Note that a UI added explicitly via this method will never be considered the default UI unless setDefaultUI(UserInterface) is also called.
Note that a UI added explicitly via this method will never be considered the default UI unless setDefaultUI(UserInterface) is also called.
The prompt is displayed in the default user interface.
The prompt is displayed in the default user interface.
The prompt is displayed in the default user interface.
The prompt is displayed in the default user interface.
The prompt is displayed in the default user interface.
The prompt is displayed in the default user interface.
The prompt is displayed in the default user interface.
The prompt is displayed in the default user interface.
The prompt is displayed in the default user interface.
The prompt is displayed in the default user interface.
The context menu is displayed in the default user interface.
Copyright © 2015–2022 SciJava. All rights reserved.