public abstract class AbstractUserInterface extends AbstractRichPlugin implements UserInterface
UserInterface implementations.| Constructor and Description |
|---|
AbstractUserInterface() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createUI()
Subclasses override to control UI creation.
|
boolean |
isVisible()
Whether this UI is visible onscreen.
|
void |
restoreLocation()
Restores the application frame's current location.
|
void |
saveLocation()
Persists the application frame's current location.
|
void |
show()
Shows the UI.
|
void |
show(Display<?> display)
Shows the display onscreen using an appropriate UI widget.
|
void |
show(String name,
Object o)
Shows the object onscreen using an appropriate UI widget.
|
getInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchooseFile, chooseFile, chooseFiles, chooseFiles, createDisplayWindow, dialogPrompt, getApplicationFrame, getConsolePane, getDesktop, getStatusBar, getSystemClipboard, getToolBar, requiresEDT, show, showContextMenugetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic void show()
UserInterfaceNote that the actual UI components are created lazily when this method is called, rather then upon the UI's initial construction.
show in interface UserInterfacepublic boolean isVisible()
UserInterfaceisVisible in interface UserInterfacepublic void show(String name, Object o)
UserInterfaceshow in interface UserInterfacename - The name to use when displaying the object.o - The object to be displayed.public void show(Display<?> display)
UserInterfaceshow in interface UserInterfacepublic void saveLocation()
UserInterfacesaveLocation in interface UserInterfacepublic void restoreLocation()
UserInterfacerestoreLocation in interface UserInterfaceprotected void createUI()
ApplicationFrame but before
showing it (assuming the UI has an ApplicationFrame).Copyright © 2015–2022 SciJava. All rights reserved.